C# 클래스 Munq.IocContainer

The implementation of the IOC container. Implements the IDependencyRegistrar and IDependencyResolver, along with the IContainerFluent and IDisposable interfaces. The container is thread safe.
상속: IContainerFluent, IDisposable
파일 보기 프로젝트 열기: volkanceylan/Serenity 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Disposes of all Container scoped (ContainerLifetime) instances cached in the type registry, and disposes of the type registry itself.

IocContainer ( ) : System

Initializes a new instance of the IocContainer class; The types IocContainer, IDependencyRegistrar, and IDependencyResolver are all registered to resolve to this instance of the class.

UsesDefaultLifetimeManagerOf ( ILifetimeManager lifetimeManager ) : IContainerFluent

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Implements the Disposed(boolean disposing) method of Disposable pattern.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Disposes of all Container scoped (ContainerLifetime) instances cached in the type registry, and disposes of the type registry itself.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Implements the Disposed(boolean disposing) method of Disposable pattern.
protected Dispose ( bool disposing ) : void
disposing bool True if disposing.
리턴 void

IocContainer() 공개 메소드

Initializes a new instance of the IocContainer class; The types IocContainer, IDependencyRegistrar, and IDependencyResolver are all registered to resolve to this instance of the class.
public IocContainer ( ) : System
리턴 System

UsesDefaultLifetimeManagerOf() 공개 메소드

public UsesDefaultLifetimeManagerOf ( ILifetimeManager lifetimeManager ) : IContainerFluent
lifetimeManager ILifetimeManager
리턴 IContainerFluent