Appearance
TypeFactory Class
Definition
Factory class for compiling runtime classes/poco's
- Namespace:
JASE.Reflection - Assembly:
JASE.ReflectionTools.dll
Methods
| Name | Description |
|---|---|
Type CreateType(string name, Dictionary<string, Type> properties, Type[] implements = null, bool dataContract = null, bool autoVersioning = null) | Creates a dynamic Type with the specified name, properties and optionally implements one or more interfaces. |
Type CreateType(string name, IList<PropertyAttribute> attributes, IList<Property> properties, Type[] implements = null, bool dataContract = null, Type inheritsFrom = null, bool autoVersioning = null) | Creates a new dynamic Type with the specified name and properties. |
Type GetType(string name) | Returns a compiled type by name |