Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies whether OData route attributes on this controller should be mapped.
Namespace: System.Web.OData.Routing.Conventions
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public virtual bool ShouldMapController(
HttpControllerDescriptor controller
)
public:
virtual bool ShouldMapController(
HttpControllerDescriptor^ controller
)
abstract ShouldMapController :
controller:HttpControllerDescriptor -> bool
override ShouldMapController :
controller:HttpControllerDescriptor -> bool
Public Overridable Function ShouldMapController (
controller As HttpControllerDescriptor
) As Boolean
Parameters
controller
Type: System.Web.Http.Controllers.HttpControllerDescriptorThe controller.
Return Value
Type: System.Boolean
true if this controller should be included in the map; false otherwise.
See Also
AttributeRoutingConvention Class
System.Web.OData.Routing.Conventions Namespace
Return to top