Пример #1
0
 public GetFoxPowerCommand(IPacketsProcessor packetsProcessor)
 {
     this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor));
     packetsProcessor.SetOnGetFoxPowerResponse(OnGetFoxPowerResponse);
 }
Пример #2
0
 public GetPowerCommand(IPacketsProcessor packetsProcessor)
 {
     _packetsProcessor = packetsProcessor;
     _packetsProcessor.SetOnGetFoxPowerResponse(OnGetPowerResponse);
 }