[This is preliminary documentation and is subject to change.]
The PortableObjectDocument type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | PortableObjectDocument |
Creates a new instance of object document from the graph of arbitrary CLR objects serializing them into well-known POD object types
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | 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 ![]() |
![]() | GetExistingOrNewMetaType |
Obtains new or existing MetaType instance that represents a Type in this document instance.
If this document instance already has this type registered, then existing MetaType instance is returned, otherwise
the new MetaType instance that represents the supplied CLR Type is created and registered under the document-unique index
|
![]() | GetExistingOrNewMetaTypeIndex |
Obtains new or existing index of MetaType that represents a Type in this document instance.
If this document instance already has this type registered, then existing index is returned, otherwise
the new MetaType instance that represents the supplied CLR Type is created and registered under the document-unique index
|
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | GetMetaTypeFromIndex |
Returns MetaType by index
|
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | NativeDataToPortableData |
Transforms a native value, such as object, primitive, struct etc.. into a value that can be stored in the PortableObjectDocument.
The complex types are stored as CompositeData, primitives are stored as-is (boxed)
|
![]() | PortableDataToNativeData |
Transforms a portable data value, such as object, primitive, struct etc.. into a CLR
|
![]() | ToOriginalObject |
Deserializes PortableObjectDocument into original graph of arbitrary CLR objects trying to preserve/convert as much data as possible
using optionally supplied strategy
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | m_CompositeData | |
![]() | m_CompositeDataDict | |
![]() | m_StreamingContext | |
![]() | m_Types | |
![]() | m_TypesDict |
Properties
Name | Description | |
---|---|---|
![]() | BuildInformation |
Returns build information for framework that contains the PortableObjectDocuemnt type
|
![]() | CreationDate |
Returns timestamp when this doc was created
|
![]() | MetaTypes |
Returns meta types that this document contains
|
![]() | Notes |
Returns notes supplied when document was created
|
![]() | Root |
Returns graph root potable object that this document represents, not a native object
|
![]() | RootMetaType |
Returns graph root object meta type index, if root is null them MetaCompositeType(Object) is returned
|
![]() | RootMetaTypeIndex |
Returns graph root object meta type index, if root data is null then 0 is returned which is an index of MetaCompositeType(Object) type
|
See Also