Share via


AttributeRoutingConvention Constructor

 

Namespace:   System.Web.OData.Routing.Conventions
Assembly:  System.Web.OData (in System.Web.OData.dll)

Overload List

Name Description
System_CAPS_pubmethod AttributeRoutingConvention(IEdmModel, HttpConfiguration)

Initializes a new instance of the AttributeRoutingConvention class.

System_CAPS_pubmethod AttributeRoutingConvention(IEdmModel, HttpConfiguration, IODataPathTemplateHandler)

Initializes a new instance of the AttributeRoutingConvention class.

System_CAPS_pubmethod AttributeRoutingConvention(IEdmModel, IEnumerable<HttpControllerDescriptor>)

Initializes a new instance of the AttributeRoutingConvention class.

System_CAPS_pubmethod AttributeRoutingConvention(IEdmModel, IEnumerable<HttpControllerDescriptor>, IODataPathTemplateHandler)

Initializes a new instance of the AttributeRoutingConvention class.

See Also

AttributeRoutingConvention Class
System.Web.OData.Routing.Conventions Namespace

Return to top

AttributeRoutingConvention Constructor (IEdmModel, HttpConfiguration)

Initializes a new instance of the AttributeRoutingConvention class.

Syntax

public AttributeRoutingConvention(
    IEdmModel model,
    HttpConfiguration configuration
)
public:
AttributeRoutingConvention(
    IEdmModel^ model,
    HttpConfiguration^ configuration
)
new : 
        model:IEdmModel *
        configuration:HttpConfiguration -> AttributeRoutingConvention
Public Sub New (
    model As IEdmModel,
    configuration As HttpConfiguration
)

Parameters

Return to top

AttributeRoutingConvention Constructor (IEdmModel, HttpConfiguration, IODataPathTemplateHandler)

Initializes a new instance of the AttributeRoutingConvention class.

Syntax

public AttributeRoutingConvention(
    IEdmModel model,
    HttpConfiguration configuration,
    IODataPathTemplateHandler pathTemplateHandler
)
public:
AttributeRoutingConvention(
    IEdmModel^ model,
    HttpConfiguration^ configuration,
    IODataPathTemplateHandler^ pathTemplateHandler
)
new : 
        model:IEdmModel *
        configuration:HttpConfiguration *
        pathTemplateHandler:IODataPathTemplateHandler -> AttributeRoutingConvention
Public Sub New (
    model As IEdmModel,
    configuration As HttpConfiguration,
    pathTemplateHandler As IODataPathTemplateHandler
)

Parameters

Return to top

AttributeRoutingConvention Constructor (IEdmModel, IEnumerable<HttpControllerDescriptor>)

Initializes a new instance of the AttributeRoutingConvention class.

Syntax

public AttributeRoutingConvention(
    IEdmModel model,
    IEnumerable<HttpControllerDescriptor> controllers
)
public:
AttributeRoutingConvention(
    IEdmModel^ model,
    IEnumerable<HttpControllerDescriptor^>^ controllers
)
new : 
        model:IEdmModel *
        controllers:IEnumerable<HttpControllerDescriptor> -> AttributeRoutingConvention
Public Sub New (
    model As IEdmModel,
    controllers As IEnumerable(Of HttpControllerDescriptor)
)

Parameters

Return to top

AttributeRoutingConvention Constructor (IEdmModel, IEnumerable<HttpControllerDescriptor>, IODataPathTemplateHandler)

Initializes a new instance of the AttributeRoutingConvention class.

Syntax

public AttributeRoutingConvention(
    IEdmModel model,
    IEnumerable<HttpControllerDescriptor> controllers,
    IODataPathTemplateHandler pathTemplateHandler
)
public:
AttributeRoutingConvention(
    IEdmModel^ model,
    IEnumerable<HttpControllerDescriptor^>^ controllers,
    IODataPathTemplateHandler^ pathTemplateHandler
)
new : 
        model:IEdmModel *
        controllers:IEnumerable<HttpControllerDescriptor> *
        pathTemplateHandler:IODataPathTemplateHandler -> AttributeRoutingConvention
Public Sub New (
    model As IEdmModel,
    controllers As IEnumerable(Of HttpControllerDescriptor),
    pathTemplateHandler As IODataPathTemplateHandler
)

Parameters

Return to top