Jaa


PerRouteContainerBase.CreateODataRootContainer Method

Definition

Overloads

CreateODataRootContainer(Action<IContainerBuilder>)

Create a root container not associated with a route.

CreateODataRootContainer(String, Action<IContainerBuilder>)

Create a root container for a given route name.

CreateODataRootContainer(Action<IContainerBuilder>)

Create a root container not associated with a route.

public IServiceProvider CreateODataRootContainer (Action<Microsoft.OData.IContainerBuilder> configureAction);
member this.CreateODataRootContainer : Action<Microsoft.OData.IContainerBuilder> -> IServiceProvider
Public Function CreateODataRootContainer (configureAction As Action(Of IContainerBuilder)) As IServiceProvider

Parameters

configureAction
Action<IContainerBuilder>

The configuration actions to apply to the container.

Returns

An instance of IServiceProvider to manage services for a route.

Applies to

CreateODataRootContainer(String, Action<IContainerBuilder>)

Create a root container for a given route name.

public IServiceProvider CreateODataRootContainer (string routeName, Action<Microsoft.OData.IContainerBuilder> configureAction);
abstract member CreateODataRootContainer : string * Action<Microsoft.OData.IContainerBuilder> -> IServiceProvider
override this.CreateODataRootContainer : string * Action<Microsoft.OData.IContainerBuilder> -> IServiceProvider
Public Function CreateODataRootContainer (routeName As String, configureAction As Action(Of IContainerBuilder)) As IServiceProvider

Parameters

routeName
String

The route name.

configureAction
Action<IContainerBuilder>

The configuration actions to apply to the container.

Returns

An instance of IServiceProvider to manage services for a route.

Implements

Applies to