C# 클래스 Griffin.Container.Mvc5.Scope

Our dependency scope implementation
상속: IDependencyScope
파일 보기 프로젝트 열기: jgauffin/Griffin.Container

공개 메소드들

메소드 설명
GetService ( Type serviceType ) : object
GetServices ( Type serviceType ) : IEnumerable
Scope ( IChildContainer container, System.Action disposeAction ) : System

Initializes a new instance of the Scope class.

비공개 메소드들

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

메소드 상세

GetService() 공개 메소드

public GetService ( Type serviceType ) : object
serviceType System.Type
리턴 object

GetServices() 공개 메소드

public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type
리턴 IEnumerable

Scope() 공개 메소드

Initializes a new instance of the Scope class.
public Scope ( IChildContainer container, System.Action disposeAction ) : System
container IChildContainer The scoped container.
disposeAction System.Action The dispose action (invoked when the scope is disposed).
리턴 System