public AddNewProfileCommand(IPacketsProcessor packetsProcessor) { _packetsProcessor = packetsProcessor; _packetsProcessor.SetOnAddNewProfileResponse(OnAddNewProfileResponse); }
public AddNewProfileCommand(IPacketsProcessor packetsProcessor) { this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor)); packetsProcessor.SetOnAddNewProfileResponse(OnAddNewProfileResponse); }