Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    NoopConflictingRouteService()

    Declaration
    public NoopConflictingRouteService()

    Methods

    View Source

    HasConflictingRoutes(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

    true if there are conflicting routes; otherwise, false.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX