public SetProfileNameCommand(IPacketsProcessor packetsProcessor) { this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor)); packetsProcessor.SetOnSetProfileNameResponse(OnSetProfileNameResponse); }
public SetProfileNameCommand(IPacketsProcessor packetsProcessor) { _packetsProcessor = packetsProcessor; _packetsProcessor.SetOnSetProfileNameResponse(OnSetProfileNameResponse); }