Class AbpApiVersioningExtensions
Inheritance
System.Object
AbpApiVersioningExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
|---|---|---|
| IServiceCollection | services | |
| System.Action<ApiVersioningOptions> | setupAction |
Returns
| Type | Description |
|---|---|
| IServiceCollection |
ConfigureAbp(ApiVersioningOptions, AbpAspNetCoreMvcOptions)
Declaration
public static void ConfigureAbp(this ApiVersioningOptions options, AbpAspNetCoreMvcOptions mvcOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| ApiVersioningOptions | options | |
| AbpAspNetCoreMvcOptions | mvcOptions |