다음을 통해 공유


IPerRouteContainer.CreateODataRootContainer 메서드

정의

지정된 경로 이름에 대한 루트 컨테이너를 만듭니다.

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

매개 변수

routeName
String

경로 이름입니다.

configureAction
Action<IContainerBuilder>

컨테이너에 적용할 구성 작업입니다.

반환

경로에 대한 서비스를 관리할 의 IServiceProvider 인스턴스입니다.

적용 대상