C# Класс Ninject.Planning.Bindings.BindingConfiguration

The configuration of a binding.
Наследование: IBindingConfiguration
Показать файл Открыть проект

Открытые методы

Метод Описание
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