Class ConflictingRouteService
Inheritance
object
Namespace: Umbraco.Cms.Api.Management.Services
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class ConflictingRouteService : IConflictingRouteService
Constructors
View SourceConflictingRouteService(TypeLoader)
Initializes a new instance of the ConflictingRouteService class.
Declaration
public ConflictingRouteService(TypeLoader typeLoader)
Parameters
| Type | Name | Description |
|---|---|---|
| TypeLoader | typeLoader |
Methods
View SourceHasConflictingRoutes(out string)
Checks if there are any conflicting routes registered in the application.
Declaration
public bool HasConflictingRoutes(out string controllerName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | controllerName | When this method returns, contains the name of the conflicting controller if a conflict exists. |
Returns
| Type | Description |
|---|---|
| bool |
|