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)
Inheritance Hierarchy
System.Object
System.Attribute
System.Web.Mvc.Routing.RouteFactoryAttribute
Syntax
[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Method,
Inherited = false, AllowMultiple = true)]
public abstract class RouteFactoryAttribute : Attribute, IDirectRouteFactory
[AttributeUsageAttribute(AttributeTargets::Class | AttributeTargets::Method,
Inherited = false, AllowMultiple = true)]
public ref class RouteFactoryAttribute abstract : Attribute,
IDirectRouteFactory
[<AbstractClass>]
[<AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Method,
Inherited = false, AllowMultiple = true)>]
type RouteFactoryAttribute =
class
inherit Attribute
interface IDirectRouteFactory
end
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method,
Inherited := False, AllowMultiple := True)>
Public MustInherit Class RouteFactoryAttribute
Inherits Attribute
Implements IDirectRouteFactory
Constructors
Name | Description | |
---|---|---|
![]() |
RouteFactoryAttribute(String) | Initializes a new instance of the RouteFactoryAttribute class. |
Properties
Name | Description | |
---|---|---|
![]() |
Constraints | Gets the route constraints. |
![]() |
DataTokens | Gets the route data tokens. |
![]() |
Defaults | Gets the route defaults. |
![]() |
Name | Gets or sets the route name. |
![]() |
Order | Gets or sets the route order. |
![]() |
Template | Gets the route template. |
![]() |
TypeId | (Inherited from Attribute.) |
Methods
Name | Description | |
---|---|---|
![]() |
CreateRoute(DirectRouteFactoryContext) | Creates a direct route entry. |
![]() |
Equals(Object) | (Inherited from Attribute.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Attribute.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
IsDefaultAttribute() | (Inherited from Attribute.) |
![]() |
Match(Object) | (Inherited from Attribute.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() |
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() |
_Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() |
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Mvc.Routing Namespace
Return to top