Beispiel #1
0
 /// <summary>Initializes a new instance of the <see cref="S101Message"/> class.</summary>
 /// <exception cref="ArgumentNullException"><paramref name="command"/> equals <c>null</c>.</exception>
 public S101Message(byte slot, S101Command command)
     : this(slot, MessageType.Ember, command)
 {
     if (command == null)
     {
         throw new ArgumentNullException(nameof(command));
     }
 }
Beispiel #2
0
 private S101Message(byte slot, byte messageType, S101Command command)
 {
     this.Slot = slot;
     this.messageType = messageType;
     this.Command = command;
 }