Export (0) Print
Expand All

RouteFactoryAttribute Class

Represents an attribute route that may contain custom constraints.

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

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

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

The RouteFactoryAttribute type exposes the following members.

  NameDescription
Protected methodRouteFactoryAttributeInitializes a new instance of the RouteFactoryAttribute class.
Top

  NameDescription
Public propertyConstraintsGets the route constraints.
Public propertyDataTokensGets the route data tokens.
Public propertyDefaultsGets the route defaults.
Public propertyNameGets or sets the route name.
Public propertyOrderGets or sets the route order.
Public propertyTemplateGets the route template.
Public propertyTypeId (Inherited from Attribute.)
Top

  NameDescription
Public methodCreateRouteCreates a direct route entry.
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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