C# Class Ninject.Planning.Bindings.BindingConfiguration

The configuration of a binding.
Inheritance: IBindingConfiguration
Afficher le fichier Open project: ninject/Ninject

Méthodes publiques

Méthode 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 méthode

Initializes a new instance of the BindingConfiguration class.
public BindingConfiguration ( ) : System
Résultat System

GetProvider() public méthode

Gets the provider for the binding.
public GetProvider ( IContext context ) : IProvider
context IContext The context.
Résultat IProvider

GetScope() public méthode

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

Matches() public méthode

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