[This is preliminary documentation and is subject to change.]
The TypeRegistry type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| TypeRegistry |
Initializes TypeRegistry with types from other sources
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds the type if it not already in registry and returns true
| |
Determines whether the specified object is equal to the current object. (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| GetEnumerator | ||
Serves as the default hash function. (Inherited from | ||
Gets the (Inherited from | ||
| GetTypeHandle |
Returns a VarIntStr with the type index formatted as handle if type exists in registry, or fully qualified type name otherwise
| |
| GetTypeHandleAsString |
Returns a string with the type index formatted as handle if type exists in registry, or fully qualified type name otherwise
| |
| IsNullHandle(String) | ||
| IsNullHandle(VarIntStr) | ||
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from |
Extension Methods
Fields
| Name | Description | |
|---|---|---|
| NULL_HANDLE |
Denotes a special type which is object==null
| |
| STR_HNDL_POOL |
Properties
| Name | Description | |
|---|---|---|
| BoxedCommonNullableTypes |
Returns common nullable types - use when much boxing is expected
| |
| BoxedCommonTypes |
Returns common primitive types - use when much boxing is expected
| |
| CommonCollectionTypes |
Returns frequently-used generic collections
| |
| Count |
How many items in the registry
| |
| CSum |
Returns quick checksum of type registry contents.
It is updated when new types get added into the registry
| |
| DataAccessCRUDTypes |
Returns common types for DataAccess.CRUD
| |
| GlueProtocolTypes |
Returns Glue protocol specific types
| |
| Item String |
Returns type by handle i.e. '$11' or full name. Throws in case of error
| |
| Item VarIntStr |
Returns type by handle i.e. VarIntStr(1) or VarIntStr("full name"). Throws in case of error
| |
| PODTypes |
Returns PortableObjectDocument types
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerable GetEnumerator | ||
| ISerializable GetObjectData |
See Also