RouteFactoryAttribute Class

 

Represents an attribute route that may contain custom constraints.

Namespace:   System.Web.Mvc.Routing
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

System.Object
  System.Attribute
    System.Web.Mvc.Routing.RouteFactoryAttribute

[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Method, 
	Inherited = false, AllowMultiple = true)]
public abstract class RouteFactoryAttribute : Attribute, IDirectRouteFactory

NameDescription
System_CAPS_protmethodRouteFactoryAttribute(String)

Initializes a new instance of the RouteFactoryAttribute class.

NameDescription
System_CAPS_pubpropertyConstraints

Gets the route constraints.

System_CAPS_pubpropertyDataTokens

Gets the route data tokens.

System_CAPS_pubpropertyDefaults

Gets the route defaults.

System_CAPS_pubpropertyName

Gets or sets the route name.

System_CAPS_pubpropertyOrder

Gets or sets the route order.

System_CAPS_pubpropertyTemplate

Gets the route template.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodCreateRoute(DirectRouteFactoryContext)

Creates a direct route entry.

System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: