public ConfigureAuthorizationOptions( RestApiExtendedOptions options, IWebHostEnvironment environment) { this.environment = environment; apiOptions = options ?? throw new ArgumentNullException(nameof(options)); }
public ConfigureSwaggerOptions( IApiVersionDescriptionProvider versionDescriptionProvider, RestApiExtendedOptions restApiOptions) { this.versionDescriptionProvider = versionDescriptionProvider ?? throw new ArgumentNullException(nameof(versionDescriptionProvider)); this.restApiOptions = restApiOptions ?? throw new ArgumentNullException(nameof(restApiOptions)); }