public SwitchToProfileCommand(IPacketsProcessor packetsProcessor) { this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor)); packetsProcessor.SetOnSwitchToProfileResponse(OnSwitchToProfileResponse); }
public SwitchToProfileCommand(IPacketsProcessor packetsProcessor) { _packetsProcessor = packetsProcessor; _packetsProcessor.SetOnSwitchToProfileResponse(OnSwitchToProfileResponse); }