Sdílet prostřednictvím


RouteFactoryAttribute Třída

Definice

Představuje trasu atributu, která může obsahovat vlastní omezení.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=false)]
public abstract class RouteFactoryAttribute : Attribute, System.Web.Mvc.Routing.IDirectRouteFactory
type RouteFactoryAttribute = class
    inherit Attribute
    interface IDirectRouteFactory
Public MustInherit Class RouteFactoryAttribute
Inherits Attribute
Implements IDirectRouteFactory
Dědičnost
RouteFactoryAttribute
Atributy
Implementuje

Konstruktory

RouteFactoryAttribute(String)

Inicializuje novou instanci RouteFactoryAttribute třídy.

Vlastnosti

Constraints

Získá omezení trasy.

DataTokens

Získá tokeny dat trasy.

Defaults

Získá výchozí hodnoty trasy.

Name

Získá nebo nastaví název trasy.

Order

Získá nebo nastaví pořadí tras.

Template

Získá šablonu trasy.

Metody

CreateRoute(DirectRouteFactoryContext)

Vytvoří položku přímé trasy.

Platí pro