コード例 #1
0
 public GetBeginAndEndTimesCommand(IPacketsProcessor packetsProcessor)
 {
     this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor));
     packetsProcessor.SetOnGetBeginAndEndTimesResponse(OnGetBeginAndEndTimesResponse);
 }
コード例 #2
0
 public GetBeginAndEndTimesCommand(IPacketsProcessor packetsProcessor)
 {
     _packetsProcessor = packetsProcessor;
     _packetsProcessor.SetOnGetBeginAndEndTimesResponse(OnGetBeginAndEndTimesResponse);
 }