Méthode | Description | |
---|---|---|
DefineGetInstanceMethod ( Mono.Cecil.TypeDefinition containerType, Mono.Cecil.ModuleDefinition module, Mono.Cecil.MethodDefinition getServiceHash, |
Defines the IMicroContainer.GetInstance method implementation for the container type.
|
|
GetInstanceMethodImplementor ( ) : System |
Initializes a new instance of the GetInstanceMethodImplementor class.
|
|
GetInstanceMethodImplementor ( IServiceInitializer initializer ) : System |
Initializes a new instance of the GetInstanceMethodImplementor class.
|
Méthode | Description | |
---|---|---|
EmitService ( Mono.Cecil.MethodDefinition getInstanceMethod, IDependency dependency, IImplementation implementation, IImplementation>.IDictionary |
Emits the instructions that will instantiate the target service.
|
Méthode | Description | |
---|---|---|
DefineServices ( IImplementation>.IDictionary |
Defines the instructions that create each service type in the serviceMap.
|
public DefineGetInstanceMethod ( Mono.Cecil.TypeDefinition containerType, Mono.Cecil.ModuleDefinition module, Mono.Cecil.MethodDefinition getServiceHash, |
||
containerType | Mono.Cecil.TypeDefinition | The container type. |
module | Mono.Cecil.ModuleDefinition | The target module. |
getServiceHash | Mono.Cecil.MethodDefinition | The GetServiceHash method. |
jumpTargetField | The field that will store the jump target indexes. | |
serviceMap | IImplementation>.IDictionary | The service map that contains the list of existing services. |
Résultat | void |
protected EmitService ( Mono.Cecil.MethodDefinition getInstanceMethod, IDependency dependency, IImplementation implementation, IImplementation>.IDictionary |
||
getInstanceMethod | Mono.Cecil.MethodDefinition | The method that will instantiate the target type. |
dependency | IDependency | The target dependency |
implementation | IImplementation | The implementation that will instantiate the dependency. |
serviceMap | IImplementation>.IDictionary | The service map that contains the list of dependencies in the application. |
Résultat | void |
public GetInstanceMethodImplementor ( ) : System | ||
Résultat | System |
public GetInstanceMethodImplementor ( IServiceInitializer initializer ) : System | ||
initializer | IServiceInitializer | The |
Résultat | System |