Пример #1
0
 public IsFoxArmedCommand(IPacketsProcessor packetsProcessor)
 {
     _packetsProcessor = packetsProcessor;
     _packetsProcessor.SetOnIsFoxArmedResponse(OnIsFoxArmedResponse);
 }
Пример #2
0
 public IsFoxArmedCommand(IPacketsProcessor packetsProcessor)
 {
     this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor));
     packetsProcessor.SetOnIsFoxArmedResponse(OnIsFoxArmedResponse);
 }