C# Class Microsoft.Practices.ObjectBuilder.LookupParameter

Implementation of IParameter which looks up the parameter value in the build context locator.
Inheritance: IParameter
Show file Open project: shinexyt/CAB Class Usage Examples

Public Methods

Method Description
GetParameterType ( IBuilderContext context ) : Type

Implementation of IParameter.GetParameterType.

GetValue ( IBuilderContext context ) : object

Implementation of IParameter.GetValue.

LookupParameter ( object key ) : System

Initializes a new instance of the LookupParameter class.

Method Details

GetParameterType() public method

Implementation of IParameter.GetParameterType.
public GetParameterType ( IBuilderContext context ) : Type
context IBuilderContext The build context.
return Type

GetValue() public method

Implementation of IParameter.GetValue.
public GetValue ( IBuilderContext context ) : object
context IBuilderContext The build context.
return object

LookupParameter() public method

Initializes a new instance of the LookupParameter class.
public LookupParameter ( object key ) : System
key object The key to look the object up with.
return System