C# 클래스 Revenj.Extensibility.Autofac.Core.Container

Standard container implementation.
상속: Disposable, IContainer, IServiceProvider
파일 보기 프로젝트 열기: ngs-doo/revenj 1 사용 예제들

공개 메소드들

메소드 설명
BeginLifetimeScope ( ) : ILifetimeScope

Begin a new sub-scope. Instances created via the sub-scope will be disposed along with it.

BeginLifetimeScope ( Action configurationAction ) : ILifetimeScope

Begin a new nested scope, with additional components available to it. Component instances created via the new scope will be disposed along with it.

BeginLifetimeScope ( object tag ) : ILifetimeScope

Begin a new sub-scope. Instances created via the sub-scope will be disposed along with it.

BeginLifetimeScope ( object tag, Action configurationAction ) : ILifetimeScope

Begin a new nested scope, with additional components available to it. Component instances created via the new scope will be disposed along with it.

ResolveLookup ( Service service, IComponentRegistration registration, IEnumerable parameters ) : IInstanceLookup

Resolve an instance of the provided registration within the context.

보호된 메소드들

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

Releases unmanaged and - optionally - managed resources

비공개 메소드들

메소드 설명
Container ( ) : System

Create a new container.

IServiceProvider ( Type serviceType ) : object

Gets the service object of the specified type.

메소드 상세

BeginLifetimeScope() 공개 메소드

Begin a new sub-scope. Instances created via the sub-scope will be disposed along with it.
public BeginLifetimeScope ( ) : ILifetimeScope
리턴 ILifetimeScope

BeginLifetimeScope() 공개 메소드

Begin a new nested scope, with additional components available to it. Component instances created via the new scope will be disposed along with it.
public BeginLifetimeScope ( Action configurationAction ) : ILifetimeScope
configurationAction Action Action on a /// that adds component registations visible only in the new scope.
리턴 ILifetimeScope

BeginLifetimeScope() 공개 메소드

Begin a new sub-scope. Instances created via the sub-scope will be disposed along with it.
public BeginLifetimeScope ( object tag ) : ILifetimeScope
tag object The tag applied to the .
리턴 ILifetimeScope

BeginLifetimeScope() 공개 메소드

Begin a new nested scope, with additional components available to it. Component instances created via the new scope will be disposed along with it.
public BeginLifetimeScope ( object tag, Action configurationAction ) : ILifetimeScope
tag object The tag applied to the .
configurationAction Action Action on a /// that adds component registations visible only in the new scope.
리턴 ILifetimeScope

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

ResolveLookup() 공개 메소드

Resolve an instance of the provided registration within the context.
public ResolveLookup ( Service service, IComponentRegistration registration, IEnumerable parameters ) : IInstanceLookup
service Service Service which is trying to be resolved
registration IComponentRegistration The registration.
parameters IEnumerable Parameters for the instance.
리턴 IInstanceLookup