Class RoutingServiceCollectionExtensions
Extends Microsoft.
Inheritance
System.Object
RoutingServiceCollectionExtensions
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: EPiServer.Cms.AspNetCore.Routing.dll
Version: 12.0.3Syntax
public static class RoutingServiceCollectionExtensions : Object
Methods
AddEndpointRoutingExtension<T>(IServiceCollection)
Adds an endpoint routing extension to the container.
Declaration
public static IServiceCollection AddEndpointRoutingExtension<T>(this IServiceCollection services)
where T : IEndpointRoutingExtension
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
services | The Microsoft. |
Returns
Type | Description |
---|---|
Microsoft. |
The Microsoft. |
Type Parameters
Name | Description |
---|---|
T | The type of IEndpoint |