Struct DocumentElement
Assembly: SociallyDistant.Framework.dll
Syntax
public struct DocumentElement : IWorldData, ISerializable<WorldRevision, IWorldSerializer>
Properties
Children
Declaration
public IReadOnlyList<DocumentElement> Children { get; set; }
Property Value
Data
Declaration
public string? Data { get; set; }
Property Value
ElementType
Declaration
public DocumentElementType ElementType { get; set; }
Property Value
Methods
Equals(object?)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
The object to compare with the current instance.
|
Returns
Type |
Description |
bool |
true if obj and this instance are the same type and represent the same value; otherwise, false.
|
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
int |
A 32-bit signed integer that is the hash code for this instance.
|
Overrides
Read(IDataReader)
Declaration
public void Read(IDataReader reader)
Parameters
Serialize(IWorldSerializer)
Declaration
public void Serialize(IWorldSerializer serializer)
Parameters
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
The fully qualified type name.
|
Overrides
Write(IDataWriter)
Declaration
public void Write(IDataWriter writer)
Parameters
Operators
operator ==(DocumentElement, DocumentElement)
Declaration
public static bool operator ==(DocumentElement a, DocumentElement b)
Parameters
Returns
operator !=(DocumentElement, DocumentElement)
Declaration
public static bool operator !=(DocumentElement a, DocumentElement b)
Parameters
Returns
Implements