Udostępnij za pośrednictwem


RouteFactoryAttribute Klasa

Definicja

Reprezentuje trasę atrybutów, która może zawierać ograniczenia niestandardowe.

[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
Dziedziczenie
RouteFactoryAttribute
Atrybuty
Implementuje

Konstruktory

RouteFactoryAttribute(String)

Inicjuje nowe wystąpienie klasy RouteFactoryAttribute.

Właściwości

Constraints

Pobiera ograniczenia trasy.

DataTokens

Pobiera tokeny danych trasy.

Defaults

Pobiera wartości domyślne trasy.

Name

Pobiera lub ustawia nazwę trasy.

Order

Pobiera lub ustawia kolejność tras.

Template

Pobiera szablon trasy.

Metody

CreateRoute(DirectRouteFactoryContext)

Tworzy wpis trasy bezpośredniej.

Dotyczy