Пример #1
0
 public GetProfilesCountCommand(IPacketsProcessor packetsProcessor)
 {
     this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor));
     packetsProcessor.SetOnGetProfilesCountResponse(OnGetProfilesCountResponse);
 }
Пример #2
0
 public GetProfilesCountCommand(IPacketsProcessor packetsProcessor)
 {
     _packetsProcessor = packetsProcessor;
     _packetsProcessor.SetOnGetProfilesCountResponse(OnGetProfilesCountResponse);
 }