C# 클래스 Cares.WebApi.UnityConfig

Specifies the Unity configuration for the main container.
파일 보기 프로젝트 열기: innoist/GF-FRS

공개 메소드들

메소드 설명
GetConfiguredContainer ( ) : IUnityContainer

Gets the configured Unity container.

RegisterTypes ( IUnityContainer container ) : void

Registers the type mappings with the Unity container.

There is no need to register concrete types such as controllers or API controllers (unless you want to change the defaults), as Unity allows resolving a concrete type even if it was not previously registered.

메소드 상세

GetConfiguredContainer() 공개 정적인 메소드

Gets the configured Unity container.
public static GetConfiguredContainer ( ) : IUnityContainer
리턴 IUnityContainer

RegisterTypes() 공개 정적인 메소드

Registers the type mappings with the Unity container.
There is no need to register concrete types such as controllers or API controllers (unless you want to change the defaults), as Unity allows resolving a concrete type even if it was not previously registered.
public static RegisterTypes ( IUnityContainer container ) : void
container IUnityContainer The unity container to configure.
리턴 void