Class CompositeData
Represents a composite (non primitive) data stored in Portable Object Document. This data is obtained from native types either automatically using reflection or from types that perform custom serialization using ISerializable interface
Inheritance
System.Object
CompositeData
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Serialization.POD
Assembly: Azos.dll
Syntax
[Serializable]
public abstract class CompositeData
Fields
m_ExistingReferenceIndex
Declaration
public int? m_ExistingReferenceIndex
Field Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
m_MetaTypeIndex
Declaration
public int m_MetaTypeIndex
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
Document
Returns document instance that contains this type
Declaration
public PortableObjectDocument Document { get; }
Property Value
Type | Description |
---|---|
PortableObjectDocument |
ExistingReference
Returns true when this instance contains a reference to existing object
Declaration
public bool ExistingReference { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ExistingReferenceIndex
Returns either an index that is less than 0 or and index to an existing object which is >=0
Declaration
public int ExistingReferenceIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Referenced
Returns another composite data that is referenced, if nothing is referenced, returns null
Declaration
public CompositeData Referenced { get; }
Property Value
Type | Description |
---|---|
CompositeData |
Type
Returns type of this data
Declaration
public MetaComplexType Type { get; }
Property Value
Type | Description |
---|---|
MetaComplexType |