Skip to content

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

object ← DefValue ← DefRecord

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

int

Kind

public override DefKind Kind { get; }

Property Value

DefKind

Members

public IReadOnlyList<KeyValuePair<string, DefValue>> Members { get; }

Property Value

IReadOnlyList<KeyValuePair<string, DefValue>>

this[string]

public DefValue? this[string name] { get; }

Property Value

DefValue?

Methods

Has(string)

public bool Has(string name)

Parameters

name string

Returns

bool

Remove(string)

public bool Remove(string name)

Parameters

name string

Returns

bool

Set(string, DefValue)

public void Set(string name, DefValue value)

Parameters

name string

value DefValue