public GetCurrentProfileIdCommand(IPacketsProcessor packetsProcessor) { this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor)); packetsProcessor.SetOnGetCurrentProfileIdResponse(OnGetCurrentProfileIdResponse); }
public GetCurrentProfileIdCommand(IPacketsProcessor packetsProcessor) { _packetsProcessor = packetsProcessor; _packetsProcessor.SetOnGetCurrentProfileIdResponse(OnGetCurrentProfileIdResponse); }