Class NoopConflictingRouteService
A default implementation of IConflictingRouteService that never reports conflicts.
Inheritance
object
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public sealed class NoopConflictingRouteService : IConflictingRouteService
Remarks
This is used when the backoffice is not registered, as route conflict detection is primarily relevant for backoffice controller routes.
Constructors
View SourceNoopConflictingRouteService()
Declaration
public NoopConflictingRouteService()
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 |
|