Метод | Описание | |
---|---|---|
LoadField ( this fieldDef ) : |
Loads a Cecil.FieldDefinition as a System.FieldInfo. Requires loading the assembly.
|
|
LoadIntoMemory ( this def, bool reflectionOnly = false ) : |
Loads a copy of the assembly from memory.
|
|
LoadLocalAssembly ( this assemblyDef ) : |
Tries to load the assembly from disk by using its Cecil identifiers. Can fail, so don't use it often.
|
|
LoadMethod ( this methodDef ) : |
Converts a Cecil.MethodDefinition to a MethodBase. Also converts constructors. Requires loading the type and/or assembly.
|
|
LoadType ( this typeDef ) : |
Loads a type using its Cecil definition. Involves loading the assembly from disk.
|
Метод | Описание | |
---|---|---|
LoadMember ( this memberDef ) : |
Loads the member from its IMemberDefinition.
|
|
LoadProperty ( this propDef ) : |
Loads the property from its Cecil metadata. Involves loading the assembly from disk.
|
public static LoadField ( this fieldDef ) : |
||
fieldDef | this | The field definition. |
Результат |
public static LoadIntoMemory ( this def, bool reflectionOnly = false ) : |
||
def | this | The definition. |
reflectionOnly | bool | |
Результат |
public static LoadLocalAssembly ( this assemblyDef ) : |
||
assemblyDef | this | The assembly definition. |
Результат |
public static LoadMethod ( this methodDef ) : |
||
methodDef | this | The method definition. |
Результат |
public static LoadType ( this typeDef ) : |
||
typeDef | this | The type definition. |
Результат |