C# Class Ninject.Planning.Bindings.BindingConfiguration

The configuration of a binding.
Inheritance: IBindingConfiguration
Exibir arquivo Open project: ninject/Ninject

Public Methods

Method Description
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.

Method Details

BindingConfiguration() public method

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

GetProvider() public method

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

GetScope() public method

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

Matches() public method

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