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