C# Класс Cilador.Dispatch.DynamicResolver

Provides a way to ensure that any cecil references are resolved as well as providing information about whether then needed to be resolved.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DynamicTryResolve ( dynamic item, object &resolvedItem ) : bool

Attempts to resolve a given object of an unknown type.

If item is a resolvable cecil type, then it will be resolved. If it is already resolved (i.e. a member definition) or if it is not a resolvable type, then it will not be resolved.

Приватные методы

Метод Описание
TryResolve ( Mono.Cecil.EventDefinition item, object &resolvedItem ) : bool

A cecil event definition will be directed to this method.

TryResolve ( Mono.Cecil.EventReference item, object &resolvedItem ) : bool

A cecil event reference will be directed to this method.

TryResolve ( FieldDefinition item, object &resolvedItem ) : bool

A cecil field definition will be directed to this method.

TryResolve ( FieldReference item, object &resolvedItem ) : bool

A cecil field reference will be directed to this method.

TryResolve ( Mono.Cecil.MethodDefinition item, object &resolvedItem ) : bool

A cecil method definition will be directed to this method.

TryResolve ( MethodReference item, object &resolvedItem ) : bool

A cecil method reference will be directed to this method.

TryResolve ( Mono.Cecil.ParameterDefinition item, object &resolvedItem ) : bool

A cecil parameter definition will be directed to this method.

TryResolve ( Mono.Cecil.ParameterReference item, object &resolvedItem ) : bool

A cecil parameter reference will be directed to this method.

TryResolve ( Mono.Cecil.PropertyDefinition item, object &resolvedItem ) : bool

A cecil property definition will be directed to this method.

TryResolve ( PropertyReference item, object &resolvedItem ) : bool

A cecil property reference will be directed to this method.

TryResolve ( Mono.Cecil.TypeDefinition item, object &resolvedItem ) : bool

A cecil type definition will be directed to this method.

TryResolve ( TypeReference item, object &resolvedItem ) : bool

A cecil type reference will be directed to this method.

TryResolve ( Mono.Cecil.Cil.VariableDefinition item, object &resolvedItem ) : bool

A cecil variable definition will be directed to this method.

TryResolve ( VariableReference item, object &resolvedItem ) : bool

A cecil variable reference will be directed to this method.

TryResolve ( object item, object &resolvedItem ) : bool

Any non-resolvable types will be directed to this method.

Описание методов

DynamicTryResolve() публичный статический Метод

Attempts to resolve a given object of an unknown type.
If item is a resolvable cecil type, then it will be resolved. If it is already resolved (i.e. a member definition) or if it is not a resolvable type, then it will not be resolved.
public static DynamicTryResolve ( dynamic item, object &resolvedItem ) : bool
item dynamic Item to possibly resolve.
resolvedItem object If the resolve was necesary, then this will be populated with the resolved item, otherwise it will be given the value of .
Результат bool