Search Results for

    Show / Hide Table of Contents
    View Source

    Class ConflictingRouteService

    Inheritance
    object
    Namespace: Umbraco.Cms.Api.Management.Services
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class ConflictingRouteService : IConflictingRouteService

    Constructors

    View Source

    ConflictingRouteService(TypeLoader)

    Initializes a new instance of the ConflictingRouteService class.

    Declaration
    public ConflictingRouteService(TypeLoader typeLoader)
    Parameters
    Type Name Description
    TypeLoader typeLoader

    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