RouteFactoryAttribute Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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. |