public SetEndingToneDurationCommand(IPacketsProcessor packetsProcessor) { _packetsProcessor = packetsProcessor; packetsProcessor.SetOnSetEndingToneDurationResponse(OnSetEndingToneDurationResponse); }
public SetEndingToneDurationCommand(IPacketsProcessor packetsProcessor) { this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor)); packetsProcessor.SetOnSetEndingToneDurationResponse(OnSetEndingToneDurationResponse); }