Esempio n. 1
0
 protected Command(MessageHeader header, CommandType type, IList<string> namedParameters, string originalMessage)
 {
     Header = header;
     Type = type;
     NamedFlags = new NamedFlags(namedParameters);
     OriginalMessage = originalMessage;
 }
Esempio n. 2
0
 public void UpdateFrom(NamedFlags other)
 {
     foreach (var pair in other.Flags)
     {
         Flags[pair.Key] = pair.Value;
     }
 }