Declares that this class or interface specifies a contract to be bound for web request routing and that its operations should be inspected to build appropriate routes.

Namespace:  Mindscape.LightSpeed.Web.Routing
Assembly:  Mindscape.LightSpeed.Web (in Mindscape.LightSpeed.Web.dll)
Version: 4.0.1000.1 (4.0.0.0)

Syntax

C#
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = true, 
	Inherited = true)]
public sealed class WebContractAttribute : Attribute
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Interface, AllowMultiple := True,  _
	Inherited := True)> _
Public NotInheritable Class WebContractAttribute _
	Inherits Attribute

Remarks

The RootPath property is used as the base for any routes build underneath this contract.

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    Mindscape.LightSpeed.Web.Routing..::.WebContractAttribute

See Also