TypeRegistry MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The TypeRegistry type exposes the following members.
Constructors

  NameDescription
Public methodTypeRegistry
Initializes TypeRegistry with types from other sources
Back to Top
Methods

  NameDescription
Public methodAdd
Adds the type if it not already in registry and returns true
Public methodOnlineEquals
Determines whether the specified object is equal to the current object.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetEnumerator
Public methodOnlineGetHashCode
Serves as the default hash function.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetTypeHandle
Returns a VarIntStr with the type index formatted as handle if type exists in registry, or fully qualified type name otherwise
Public methodGetTypeHandleAsString
Returns a string with the type index formatted as handle if type exists in registry, or fully qualified type name otherwise
Public methodStatic memberIsNullHandle(String)
Public methodStatic memberIsNullHandle(VarIntStr)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsBool (Defined by ObjectValueConversion.)
Public Extension MethodAsByte (Defined by ObjectValueConversion.)
Public Extension MethodAsChar (Defined by ObjectValueConversion.)
Public Extension MethodAsDateTime Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsDateTime(DateTime, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsDecimal (Defined by ObjectValueConversion.)
Public Extension MethodAsDouble (Defined by ObjectValueConversion.)
Public Extension MethodAsEnum TEnum  (Defined by ObjectValueConversion.)
Public Extension MethodAsFloat (Defined by ObjectValueConversion.)
Public Extension MethodAsGDID Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDID(GDID, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDIDSymbol Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDIDSymbol(GDIDSymbol, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGUID (Defined by ObjectValueConversion.)
Public Extension MethodAsInt (Defined by ObjectValueConversion.)
Public Extension MethodAsJSONConfig (Defined by ObjectValueConversion.)
Public Extension MethodAsLaconicConfig (Defined by ObjectValueConversion.)
Public Extension MethodAsLong (Defined by ObjectValueConversion.)
Public Extension MethodAsLookAheadEnumerable Type  (Defined by LookAheadExtensions.)
Public Extension MethodAsNonNullOrEmptyString (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableBool (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableByte (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableChar (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDateTime (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDecimal (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDouble (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableEnum TEnum  (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableFloat (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGDID (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGDIDSymbol (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGUID (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableInt (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableLong (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableSByte (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableShort (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableTimeSpan (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableUInt (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableULong (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableUShort (Defined by ObjectValueConversion.)
Public Extension MethodAsSByte (Defined by ObjectValueConversion.)
Public Extension MethodAsShort (Defined by ObjectValueConversion.)
Public Extension MethodAsString (Defined by ObjectValueConversion.)
Public Extension MethodAsTimeSpan Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsTimeSpan(TimeSpan, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsUInt (Defined by ObjectValueConversion.)
Public Extension MethodAsULong (Defined by ObjectValueConversion.)
Public Extension MethodAsUri (Defined by ObjectValueConversion.)
Public Extension MethodAsUShort (Defined by ObjectValueConversion.)
Public Extension MethodAsXMLConfig (Defined by ObjectValueConversion.)
Public Extension MethodDistinct Type, TKey  (Defined by CollectionUtils.)
Public Extension MethodFirstMax Type, TComparand (Func Type, TComparand )Overloaded. (Defined by CollectionUtils.)
Public Extension MethodFirstMax Type, TComparand (Func Type, TComparand , TComparand )Overloaded. (Defined by CollectionUtils.)
Public Extension MethodFirstMin Type, TComparand (Func Type, TComparand )Overloaded. (Defined by CollectionUtils.)
Public Extension MethodFirstMin Type, TComparand (Func Type, TComparand , TComparand )Overloaded. (Defined by CollectionUtils.)
Public Extension MethodFirstOrAnyOrDefault Type 
Tries to find the first element that matches the predicate and returns it, otherwise returns the first element found or default (i.e. null)
(Defined by CollectionUtils.)
Public Extension MethodForEach Type (Action Type )Overloaded.
Runs some method over each element of src sequence
(Defined by CollectionUtils.)
Public Extension MethodForEach Type (Action Type, Int32 )Overloaded.
Runs some method over each element of src sequence
(Defined by CollectionUtils.)
Public Extension MethodSkipLast Type  Overloaded.
Takes all elements except for last element from the given source
(Defined by CollectionUtils.)
Public Extension MethodSkipLast Type (Int32)Overloaded.
Takes all but last N elements from the source
(Defined by CollectionUtils.)
Public Extension MethodToErlObject Overloaded.
Try to convert .NET native object type to corresponding Erlang term. Throw exception if conversion is not possible
(Defined by ErlObject.)
Public Extension MethodToErlObject(ErlTypeOrder, Boolean)Overloaded.
Try to convert .NET native object type to corresponding Erlang term of given type. Throw exception if conversion is not possible
(Defined by ErlObject.)
Public Extension MethodToJSON(JSONWritingOptions)Overloaded.
Serializes object into JSON string
(Defined by JSONExtensions.)
Public Extension MethodToJSON(TextWriter, JSONWritingOptions)Overloaded.
Serializes object into JSON format using provided TextWriter
(Defined by JSONExtensions.)
Public Extension MethodToJSON(Stream, JSONWritingOptions, Encoding)Overloaded.
Serializes object into JSON format using provided stream and optional encoding
(Defined by JSONExtensions.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberNULL_HANDLE
Denotes a special type which is object==null
Protected fieldStatic memberSTR_HNDL_POOL
Back to Top
Properties

  NameDescription
Public propertyStatic memberBoxedCommonNullableTypes
Returns common nullable types - use when much boxing is expected
Public propertyStatic memberBoxedCommonTypes
Returns common primitive types - use when much boxing is expected
Public propertyStatic memberCommonCollectionTypes
Returns frequently-used generic collections
Public propertyCount
How many items in the registry
Public propertyCSum
Returns quick checksum of type registry contents. It is updated when new types get added into the registry
Public propertyStatic memberDataAccessCRUDTypes
Returns common types for DataAccess.CRUD
Public propertyStatic memberGlueProtocolTypes
Returns Glue protocol specific types
Public propertyItem String 
Returns type by handle i.e. '$11' or full name. Throws in case of error
Public propertyItem VarIntStr 
Returns type by handle i.e. VarIntStr(1) or VarIntStr("full name"). Throws in case of error
Public propertyStatic memberPODTypes
Returns PortableObjectDocument types
Back to Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable GetEnumerator
Explicit interface implemetationPrivate methodISerializable GetObjectData
Back to Top
See Also