public PetStoreHttpTrigger(ISampleHttpService service) { this._service = service ?? throw new ArgumentNullException(nameof(service)); }
/// <summary> /// Initializes a new instance of the <see cref="GetSamplesFunction"/> class. /// </summary> /// <param name="dependency"><see cref="ISampleHttpService"/> instance.</param> public GetSamplesFunction(ISampleHttpService service) { this._service = service; }