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