C# Class Hiro.Implementations.ConstructorCall

Represents an implementation that emits a constructor call.
Inheritance: BaseConstructorCall
显示文件 Open project: philiplaureano/Hiro Class Usage Examples

Public Methods

Method Description
ConstructorCall ( ConstructorInfo constructor ) : System

Initializes a new instance of the ConstructorCall class.

Protected Methods

Method Description
GetUnresolvedDependency ( IDependency currentDependency ) : IImplementation

Determines the IImplementation instance that will be used to emit the code that will execute if the currentDependency cannot be resolved when the container is compiled.

Method Details

ConstructorCall() public method

Initializes a new instance of the ConstructorCall class.
public ConstructorCall ( ConstructorInfo constructor ) : System
constructor System.Reflection.ConstructorInfo The target constructor.
return System

GetUnresolvedDependency() protected method

Determines the IImplementation instance that will be used to emit the code that will execute if the currentDependency cannot be resolved when the container is compiled.
protected GetUnresolvedDependency ( IDependency currentDependency ) : IImplementation
currentDependency IDependency The unresolved dependency.
return IImplementation