internal MessageDescription(string action, MessageDirection direction, MessageDescriptionItems items)
        {
            if (!MessageDirectionHelper.IsDefined(direction))
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("direction"));

            this.action = action;
            this.direction = direction;
            this.items = items;
        }
Ejemplo n.º 2
0
 internal MessageDescription(string action, MessageDirection direction, MessageDescriptionItems items)
 {
     if (!MessageDirectionHelper.IsDefined(direction))
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("direction"));
     }
     this.action    = action;
     this.direction = direction;
     this.items     = items;
 }