C# Класс Ninject.Parameters.PropertyValue

Overrides the injected value of a property.
Наследование: Parameter, IPropertyValue
Показать файл Открыть проект

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

Метод Описание
PropertyValue ( string name, Func valueCallback ) : System

Initializes a new instance of the PropertyValue class.

PropertyValue ( string name, object>.Func valueCallback ) : System

Initializes a new instance of the PropertyValue class.

PropertyValue ( string name, object value ) : System

Initializes a new instance of the PropertyValue class.

Описание методов

PropertyValue() публичный Метод

Initializes a new instance of the PropertyValue class.
public PropertyValue ( string name, Func valueCallback ) : System
name string The name of the property to override.
valueCallback Func The callback to invoke to get the value that should be injected.
Результат System

PropertyValue() публичный Метод

Initializes a new instance of the PropertyValue class.
public PropertyValue ( string name, object>.Func valueCallback ) : System
name string The name of the property to override.
valueCallback object>.Func The callback to invoke to get the value that should be injected.
Результат System

PropertyValue() публичный Метод

Initializes a new instance of the PropertyValue class.
public PropertyValue ( string name, object value ) : System
name string The name of the property to override.
value object The value to inject into the property.
Результат System