public VersionedApiConvention( ILogger <VersionedApiConvention> logger, VersionedControllerProvider controllerProvider, IOptions <ApiVersioningOptions> optionsAccessor) { Logger = logger; ControllerProvider = controllerProvider; Options = optionsAccessor.Value; }
public VersionedApiApplicationModelProvider( IOptions <MvcOptions> mvcOptions, IModelMetadataProvider modelMetadataProvider, ILogger <VersionedApiApplicationModelProvider> logger, VersionedControllerProvider controllerProvider, IOptions <ApiVersioningOptions> optionsAccessor) : base(mvcOptions, modelMetadataProvider) { Logger = logger; ControllerProvider = controllerProvider; Options = optionsAccessor.Value; }