Exemplo n.º 1
0
 public GetProfileNameCommand(IPacketsProcessor packetsProcessor)
 {
     _packetsProcessor = packetsProcessor;
     _packetsProcessor.SetOnGetProfileNameResponse(OnGetProfileNameResponse);
 }
Exemplo n.º 2
0
 public GetProfileNameCommand(IPacketsProcessor packetsProcessor)
 {
     this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor));
     packetsProcessor.SetOnGetProfileNameResponse(OnGetProfileNameResponse);
 }