コード例 #1
0
ファイル: GetCycleCommand.cs プロジェクト: WhiteFossa/yiff-l
 public GetCycleCommand(IPacketsProcessor packetsProcessor)
 {
     this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor));
     packetsProcessor.SetOnGetCycleResponse(OnGetCycleResponse);
 }
コード例 #2
0
 public GetCycleCommand(IPacketsProcessor packetsProcessor)
 {
     _packetsProcessor = packetsProcessor;
     _packetsProcessor.SetOnGetCycleResponse(OnGetCycleResponse);
 }