메소드 | 설명 | |
---|---|---|
GetType ( string typeNameWithAssembly, bool ignoreCase = false ) : |
Gets the specified type from the loaded assemblies.
|
|
GetTypeWithAssembly ( string typeName, string assemblyName, bool ignoreCase = false ) : |
Gets the specified type from the loaded assemblies.
|
|
GetTypeWithoutAssembly ( string typeNameWithoutAssembly, bool ignoreCase = false ) : |
Gets the type without assembly. For example, when the value Note that this method can only support one type of "simple type name" resolving. For example, if "Catel.TypeHelper" is located in multiple assemblies, it will always use the latest known type for resolving the type. |
|
GetTypes ( bool>.Func |
Gets all the types from the current AppDomain where the predicate returns true.
|
|
GetTypesImplementingInterface ( |
Gets the types implementing the specified interface.
|
|
GetTypesOfAssembly ( |
Gets the types of the specified assembly.
|
|
InitializeTypes ( |
Initializes the types in the specified assembly. It does this by looping through all loaded assemblies and registering the type by type name and assembly name.
|
|
InitializeTypes ( bool forceFullInitialization, string assemblyName ) : void |
Initializes the types. It does this by looping through all loaded assemblies and registering the type by type name and assembly name.
|
메소드 | 설명 | |
---|---|---|
GetAssemblyTypes ( List |
||
GetType ( string typeName, string assemblyName, bool ignoreCase ) : |
Gets the type.
|
|
GetTypeBySplittingInternals ( string typeWithInnerTypes ) : |
Gets the type by splitting internal types. This means that System.Collections.List`1[[MyCustomType.Item]] will be splitted and resolved separately.
|
|
GetTypesPrefilteredByAssembly ( string assemblyName, bool>.Func |
Gets the types prefiltered by assembly. If types must be retrieved from a single assembly only, this method is very fast.
|
|
InitializeAssemblies ( IEnumerable |
||
InitializeType ( |
||
InitializeTypes ( bool forceFullInitialization, |
||
OnAssemblyLoaded ( object sender, |
Called when an assembly is loaded in the current AppDomain.
|
|
ShouldIgnoreAssembly ( |
Determines whether the specified assembly must be ignored by the type cache.
|
|
ShouldIgnoreType ( |
Determines whether the specified type must be ignored by the type cache.
|
|
TypeCache ( ) : System |
public static GetType ( string typeNameWithAssembly, bool ignoreCase = false ) : |
||
typeNameWithAssembly | string | The name of the type including namespace and assembly, formatted with the |
ignoreCase | bool | A value indicating whether the case should be ignored. |
리턴 |
public static GetTypeWithAssembly ( string typeName, string assemblyName, bool ignoreCase = false ) : |
||
typeName | string | The name of the type including namespace. |
assemblyName | string | The name of the type including namespace. |
ignoreCase | bool | A value indicating whether the case should be ignored. |
리턴 |
public static GetTypeWithoutAssembly ( string typeNameWithoutAssembly, bool ignoreCase = false ) : |
||
typeNameWithoutAssembly | string | The type name without assembly. |
ignoreCase | bool | A value indicating whether the case should be ignored. |
리턴 |
public static GetTypes ( bool>.Func |
||
predicate | bool>.Func | The predicate where the type should apply to. |
리턴 | System.Type[] |
public static GetTypesImplementingInterface ( |
||
interfaceType | Type of the interface. | |
리턴 | System.Type[] |
public static GetTypesOfAssembly ( |
||
assembly | The assembly. | |
predicate | bool>.Func | The predicate to use on the types. |
리턴 | System.Type[] |
public static InitializeTypes ( |
||
assembly | The assembly to initialize the types from. If |
|
forceFullInitialization | bool | If |
리턴 | void |
public static InitializeTypes ( bool forceFullInitialization, string assemblyName ) : void | ||
forceFullInitialization | bool | If |
assemblyName | string | Name of the assembly. If |
리턴 | void |