C# 클래스 Ninject.Planning.Bindings.BindingConfiguration

The configuration of a binding.
상속: IBindingConfiguration
파일 보기 프로젝트 열기: ninject/Ninject

공개 메소드들

메소드 설명
BindingConfiguration ( ) : System

Initializes a new instance of the BindingConfiguration class.

GetProvider ( IContext context ) : IProvider

Gets the provider for the binding.

GetScope ( IContext context ) : object

Gets the scope for the binding, if any.

Matches ( IRequest request ) : bool

Determines whether the specified request satisfies the conditions defined on this binding.

메소드 상세

BindingConfiguration() 공개 메소드

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

GetProvider() 공개 메소드

Gets the provider for the binding.
public GetProvider ( IContext context ) : IProvider
context IContext The context.
리턴 IProvider

GetScope() 공개 메소드

Gets the scope for the binding, if any.
public GetScope ( IContext context ) : object
context IContext The context.
리턴 object

Matches() 공개 메소드

Determines whether the specified request satisfies the conditions defined on this binding.
public Matches ( IRequest request ) : bool
request IRequest The request.
리턴 bool