Represents a type dictionary by name.
More...
|
| AssemblyNameDictionary () |
| Constructor.
|
|
List< Type > | GetAvailableTypes () |
| Returns the list of types.
|
|
object | Create (string name) |
| Creates the instance by name.
|
|
Type | GetT (string name) |
| Gets a type by name.
|
|
void | LoadByClassName (System.Reflection.Assembly sourceDLL, Type typeKey) |
| Loads types from DLL. The inherited classes from type will be loaded.
|
|
void | Load (System.Reflection.Assembly sourceDLL, Type typeKey) |
| Loads types from DLL. The inherited classes from type will be loaded.
|
|
|
GetTypeNameEvt | GetTypeNameEvt = null |
| Naming event of type. You can rename the element of dictionary.
|
|
|
Dictionary< string, Type > | typeDictionary |
| Dictionary of types.
|
|
Represents a type dictionary by name.
◆ Create()
object Tools.Assembly.AssemblyNameDictionary.Create |
( |
string | name | ) |
|
Creates the instance by name.
- Parameters
-
- Returns
- The created object.
- Exceptions
-
◆ GetAvailableTypes()
List< Type > Tools.Assembly.AssemblyNameDictionary.GetAvailableTypes |
( |
| ) |
|
Returns the list of types.
- Returns
- List of types.
◆ GetT()
Type Tools.Assembly.AssemblyNameDictionary.GetT |
( |
string | name | ) |
|
Gets a type by name.
- Parameters
-
- Returns
- The type.
- Exceptions
-
◆ Load()
void Tools.Assembly.AssemblyNameDictionary.Load |
( |
System.Reflection.Assembly | sourceDLL, |
|
|
Type | typeKey ) |
Loads types from DLL. The inherited classes from type will be loaded.
- Parameters
-
sourceDLL | Source DLL. |
typeKey | Inherited type of classes to load. |
- Exceptions
-
Exception | Throws when type is duplicated. |
◆ LoadByClassName()
void Tools.Assembly.AssemblyNameDictionary.LoadByClassName |
( |
System.Reflection.Assembly | sourceDLL, |
|
|
Type | typeKey ) |
Loads types from DLL. The inherited classes from type will be loaded.
- Parameters
-
sourceDLL | Source DLL. |
typeKey | Inherited type of classes to load. |
The documentation for this class was generated from the following file:
- Z:/x4t/src/Tools/Assembly/AssemblyNameDictionary.cs