Provides API for handling runtime assembly members.
|
static Type | GetType (string typeName) |
| Looking for type without defined assembly among loaded ones. More...
|
|
static Type | GetType (string typeName, bool throwOnError) |
| Looking for type without defined assembly among loaded ones. More...
|
|
static Type | GetType (string typeName, bool throwOnError, bool ignoreCase) |
| Looking for type without defined assembly among loaded ones. More...
|
|
static Type | GetType (string typeName, string shortAssembly) |
| Looking for the type in certain assembly ignoring the version, culture and token of the last one. More...
|
|
static Type | GetType (string typeName, string shortAssembly, bool throwOnError) |
| Looking for the type in certain assembly ignoring the version, culture and token of the last one. More...
|
|
static Type | GetType (string typeName, string shortAssembly, bool throwOnError, bool ignoreCase) |
| Looking for the type in certain assembly ignoring the version, culture and token of the last one. More...
|
|
static void | MakeBond (string typeName, string shortAssembly, Type type) |
| Making bond between string key and a type. Overrides existing one in case if registered. More...
|
|
static void | MakeBond (string typeName, Type type) |
| Making bond between string key and a type. Overrides existing one in case if registered. More...
|
|
static void | DropBonds () |
| Drops entire established bonds between string representations and types.
|
|
◆ GetType() [1/6]
static Type Doloro.DataManagement.AssemblyUtils.GetType |
( |
string |
typeName | ) |
|
|
static |
Looking for type without defined assembly among loaded ones.
- Parameters
-
typeName | Full name including namespace of the type to search. |
- Returns
- Detected type. Null or exception in case if not found.
- Exceptions
-
TypeAccessException | Occurs only if throwOnError is true. Type not found among loaded assemblies. |
◆ GetType() [2/6]
static Type Doloro.DataManagement.AssemblyUtils.GetType |
( |
string |
typeName, |
|
|
bool |
throwOnError |
|
) |
| |
|
static |
Looking for type without defined assembly among loaded ones.
- Parameters
-
typeName | Full name including namespace of the type to search. |
throwOnError | If true then will throw the exception in case if type not found. |
- Returns
- Detected type. Null or exception in case if not found.
- Exceptions
-
TypeAccessException | Occurs only if throwOnError is true. Type not found among loaded assemblies. |
◆ GetType() [3/6]
static Type Doloro.DataManagement.AssemblyUtils.GetType |
( |
string |
typeName, |
|
|
bool |
throwOnError, |
|
|
bool |
ignoreCase |
|
) |
| |
|
static |
Looking for type without defined assembly among loaded ones.
- Parameters
-
typeName | Full name including namespace of the type to search. |
throwOnError | If true then will throw the exception in case if type not found. |
ignoreCase | If true the name will be considered as case insensitive. |
- Returns
- Detected type. Null or exception in case if not found.
- Exceptions
-
TypeAccessException | Occurs only if throwOnError is true. Type not found among loaded assemblies. |
◆ GetType() [4/6]
static Type Doloro.DataManagement.AssemblyUtils.GetType |
( |
string |
typeName, |
|
|
string |
shortAssembly |
|
) |
| |
|
static |
Looking for the type in certain assembly ignoring the version, culture and token of the last one.
- Parameters
-
typeName | Full name including namespace of the type to search. |
shortAssembly | Name of the assembly without meta-data. |
- Returns
- Detected type. Null or exception in case if not found.
- Exceptions
-
DllNotFoundException | Assembly with defined name not found among loaded. |
TypeAccessException | Type not declared into the assembly. |
◆ GetType() [5/6]
static Type Doloro.DataManagement.AssemblyUtils.GetType |
( |
string |
typeName, |
|
|
string |
shortAssembly, |
|
|
bool |
throwOnError |
|
) |
| |
|
static |
Looking for the type in certain assembly ignoring the version, culture and token of the last one.
- Parameters
-
typeName | Full name including namespace of the type to search. |
shortAssembly | Name of the assembly without meta-data. |
throwOnError | If true then will throw the exception in case if type not found. |
- Returns
- Detected type. Null or exception in case if not found.
- Exceptions
-
DllNotFoundException | Assembly with defined name not found among loaded. |
TypeAccessException | Type not declared into the assembly. |
◆ GetType() [6/6]
static Type Doloro.DataManagement.AssemblyUtils.GetType |
( |
string |
typeName, |
|
|
string |
shortAssembly, |
|
|
bool |
throwOnError, |
|
|
bool |
ignoreCase |
|
) |
| |
|
static |
Looking for the type in certain assembly ignoring the version, culture and token of the last one.
- Parameters
-
typeName | Full name including namespace of the type to search. |
shortAssembly | Name of the assembly without meta-data. |
throwOnError | If true then will throw the exception in case if type not found. |
ignoreCase | If true the name will be considered as case insensitive. |
- Returns
- Detected type. Null or exception in case if not found.
- Exceptions
-
DllNotFoundException | Assembly with defined name not found among loaded. |
TypeAccessException | Type not declared into the assembly. |
◆ MakeBond() [1/2]
static void Doloro.DataManagement.AssemblyUtils.MakeBond |
( |
string |
typeName, |
|
|
string |
shortAssembly, |
|
|
Type |
type |
|
) |
| |
|
static |
Making bond between string key and a type. Overrides existing one in case if registered.
- Parameters
-
typeName | Normally the full name of the type including namespace. |
shortAssembly | Name of the assembly without meta-data. |
type | Type that will be binded to the key for fast access. |
- Exceptions
-
ArgumentException | typeName or shortAssembly is null or whitespace. |
ArgumentNullException | type is null. |
◆ MakeBond() [2/2]
static void Doloro.DataManagement.AssemblyUtils.MakeBond |
( |
string |
typeName, |
|
|
Type |
type |
|
) |
| |
|
static |
Making bond between string key and a type. Overrides existing one in case if registered.
- Parameters
-
typeName | Key of the bond. Normally the full name of the type including namespace. |
type | Type that will be binded to the key for fast access. |
- Exceptions
-
ArgumentException | typeName is null or whitespace. |
ArgumentNullException | type is null. |
The documentation for this class was generated from the following file:
- D:/Work/GitHub/DGDK22/Assets/Tauri Interactive/Doloro-GDK/Doloro-Data-Management/Runtime/AssemblyTools/AssemblyUtils.cs