Class DefRecord¶
Namespace: Apogee.Content.Xml
Assembly: Apogee.Content.dll
A record: members by name, in the order they were decoded (attributes first, then child elements as the schema declares them).
public sealed class DefRecord : DefValue
Inheritance¶
Inherited Members¶
DefValue.Kind, DefValue.From(string), DefValue.From(double), DefValue.From(bool), DefValue.ToString(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties¶
Count¶
public int Count { get; }
Property Value¶
Kind¶
public override DefKind Kind { get; }
Property Value¶
Members¶
public IReadOnlyList<KeyValuePair<string, DefValue>> Members { get; }
Property Value¶
IReadOnlyList<KeyValuePair<string, DefValue>>
this[string]¶
public DefValue? this[string name] { get; }
Property Value¶
Methods¶
Has(string)¶
public bool Has(string name)
Parameters¶
name string
Returns¶
Remove(string)¶
public bool Remove(string name)
Parameters¶
name string
Returns¶
Set(string, DefValue)¶
public void Set(string name, DefValue value)
Parameters¶
name string
value DefValue