/// <summary> /// Initializes a new instance of the <see cref="Url"/> class. /// </summary> /// <param name="shortener"><see cref="IShortenerService"/> instance.</param> /// <param name="expander"><see cref="IExpanderService"/> instance.</param> public Url(IShortenerService shortener, IExpanderService expander) { this._shortener = shortener ?? throw new ArgumentNullException(nameof(shortener)); this._expander = expander ?? throw new ArgumentNullException(nameof(expander)); }
public ExpandUrlHttpTrigger(IExpanderService service) { this._service = service ?? throw new ArgumentNullException(nameof(service)); }