コード例 #1
0
ファイル: S101Message.cs プロジェクト: Lawo/ember-plus-sharp
 /// <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));
     }
 }
コード例 #2
0
ファイル: S101Message.cs プロジェクト: Lawo/ember-plus-sharp
 private S101Message(byte slot, byte messageType, S101Command command)
 {
     this.Slot = slot;
     this.messageType = messageType;
     this.Command = command;
 }