PerRouteContainerBase.CreateODataRootContainer Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
CreateODataRootContainer(Action<IContainerBuilder>) |
Utwórz kontener główny, który nie jest skojarzony z trasą. |
CreateODataRootContainer(String, Action<IContainerBuilder>) |
Utwórz kontener główny dla danej nazwy trasy. |
CreateODataRootContainer(Action<IContainerBuilder>)
Utwórz kontener główny, który nie jest skojarzony z trasą.
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
Parametry
- configureAction
- Action<IContainerBuilder>
Akcje konfiguracji, które mają być stosowane do kontenera.
Zwraca
Wystąpienie zarządzania IServiceProvider usługami dla trasy.
Dotyczy
CreateODataRootContainer(String, Action<IContainerBuilder>)
Utwórz kontener główny dla danej nazwy trasy.
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
Parametry
- routeName
- String
Nazwa trasy.
- configureAction
- Action<IContainerBuilder>
Akcje konfiguracji, które mają być stosowane do kontenera.
Zwraca
Wystąpienie zarządzania IServiceProvider usługami dla trasy.