C# 클래스 Ninject.Parameters.PropertyValue

Overrides the injected value of a property.
상속: Parameter, IPropertyValue
파일 보기 프로젝트 열기: ninject/Ninject

공개 메소드들

메소드 설명
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