C# Class Ninject.Parameters.WeakPropertyValue

Overrides the injected value of a property. Keeps a weak reference to the value.
Inheritance: Parameter, IPropertyValue
Afficher le fichier Open project: ninject/Ninject

Méthodes publiques

Méthode Description
WeakPropertyValue ( string name, object value ) : System

Initializes a new instance of the WeakPropertyValue class.

Method Details

WeakPropertyValue() public méthode

Initializes a new instance of the WeakPropertyValue class.
public WeakPropertyValue ( string name, object value ) : System
name string The name of the property to override.
value object The value to inject into the property.
Résultat System