C# 클래스 Griffin.Container.ComponentRegistration

Information about a specific component
Used to create the build plan
파일 보기 프로젝트 열기: jgauffin/Griffin.Container 1 사용 예제들

공개 메소드들

메소드 설명
AddService ( Type service ) : void

Add a new service.

AddServices ( IServiceFilter serviceFilter ) : void

Add all services which the concrete type implements

ComponentRegistration ( Type concreteType, Lifetime lifetime ) : System

Initializes a new instance of the ComponentRegistration class.

Implements ( Type service ) : bool

Checks if the current concrete implements the specified class.

메소드 상세

AddService() 공개 메소드

Add a new service.
public AddService ( Type service ) : void
service System.Type Service that the class implementes.
리턴 void

AddServices() 공개 메소드

Add all services which the concrete type implements
public AddServices ( IServiceFilter serviceFilter ) : void
serviceFilter IServiceFilter Used to filter implemented services.
리턴 void

ComponentRegistration() 공개 메소드

Initializes a new instance of the ComponentRegistration class.
public ComponentRegistration ( Type concreteType, Lifetime lifetime ) : System
concreteType System.Type Type to create.
lifetime Lifetime The lifetime.
리턴 System

Implements() 공개 메소드

Checks if the current concrete implements the specified class.
public Implements ( Type service ) : bool
service System.Type Service to check for
리턴 bool