Class AbpApiVersioningExtensions
Inheritance
object
AbpApiVersioningExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.AspNetCore.Mvc.dll
Syntax
public static class AbpApiVersioningExtensions
Methods
AddAbpApiVersioning(IServiceCollection, Action<ApiVersioningOptions>)
Declaration
public static IServiceCollection AddAbpApiVersioning(this IServiceCollection services, Action<ApiVersioningOptions> setupAction)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection | services | |
| System.Action<T><Microsoft.AspNetCore.Mvc.Versioning.ApiVersioningOptions> | setupAction |
Returns
| Type | Description |
|---|---|
| Microsoft.Extensions.DependencyInjection.IServiceCollection |
ConfigureAbp(ApiVersioningOptions, AbpAspNetCoreMvcOptions)
Declaration
public static void ConfigureAbp(this ApiVersioningOptions options, AbpAspNetCoreMvcOptions mvcOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Mvc.Versioning.ApiVersioningOptions | options | |
| AbpAspNetCoreMvcOptions | mvcOptions |