C# 클래스 Ninject.KernelConfiguration

The kernel configuration
상속: BindingRoot, IKernelConfiguration
파일 보기 프로젝트 열기: ninject/Ninject 1 사용 예제들

공개 메소드들

메소드 설명
AddBinding ( IBinding binding ) : void
BuildReadonlyKernel ( ) : IReadOnlyKernel
GetBindings ( Type service ) : IEnumerable
GetModules ( ) : IEnumerable
HasModule ( string name ) : bool
KernelConfiguration ( ) : System

Initializes a new instance of the KernelConfiguration class.

KernelConfiguration ( IComponentContainer components, INinjectSettings settings ) : System

Initializes a new instance of the KernelConfiguration class.

KernelConfiguration ( INinjectSettings settings ) : System

Initializes a new instance of the KernelConfiguration class.

Load ( IEnumerable assemblies ) : void
Load ( IEnumerable modules ) : void
Load ( IEnumerable filePatterns ) : void
RemoveBinding ( IBinding binding ) : void
Unbind ( Type service ) : void
Unload ( string name ) : void

보호된 메소드들

메소드 설명
AddComponents ( ) : void

Adds components to the kernel during startup.

비공개 메소드들

메소드 설명
CloneBindings ( ) : IBinding>.Multimap

메소드 상세

AddBinding() 공개 메소드

public AddBinding ( IBinding binding ) : void
binding IBinding
리턴 void

AddComponents() 보호된 메소드

Adds components to the kernel during startup.
protected AddComponents ( ) : void
리턴 void

BuildReadonlyKernel() 공개 메소드

public BuildReadonlyKernel ( ) : IReadOnlyKernel
리턴 IReadOnlyKernel

GetBindings() 공개 메소드

public GetBindings ( Type service ) : IEnumerable
service System.Type
리턴 IEnumerable

GetModules() 공개 메소드

public GetModules ( ) : IEnumerable
리턴 IEnumerable

HasModule() 공개 메소드

public HasModule ( string name ) : bool
name string
리턴 bool

KernelConfiguration() 공개 메소드

Initializes a new instance of the KernelConfiguration class.
public KernelConfiguration ( ) : System
리턴 System

KernelConfiguration() 공개 메소드

Initializes a new instance of the KernelConfiguration class.
public KernelConfiguration ( IComponentContainer components, INinjectSettings settings ) : System
components IComponentContainer The component container to use.
settings INinjectSettings The configuration to use.
리턴 System

KernelConfiguration() 공개 메소드

Initializes a new instance of the KernelConfiguration class.
public KernelConfiguration ( INinjectSettings settings ) : System
settings INinjectSettings The configuration to use.
리턴 System

Load() 공개 메소드

public Load ( IEnumerable assemblies ) : void
assemblies IEnumerable
리턴 void

Load() 공개 메소드

public Load ( IEnumerable modules ) : void
modules IEnumerable
리턴 void

Load() 공개 메소드

public Load ( IEnumerable filePatterns ) : void
filePatterns IEnumerable
리턴 void

RemoveBinding() 공개 메소드

public RemoveBinding ( IBinding binding ) : void
binding IBinding
리턴 void

Unbind() 공개 메소드

public Unbind ( Type service ) : void
service System.Type
리턴 void

Unload() 공개 메소드

public Unload ( string name ) : void
name string
리턴 void