C# Class Ninject.Parameters.WeakPropertyValue

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

Public Methods

Method Description
WeakPropertyValue ( string name, object value ) : System

Initializes a new instance of the WeakPropertyValue class.

Method Details

WeakPropertyValue() public method

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.
return System