Class DefValue¶
Namespace: Apogee.Content.Xml
Assembly: Apogee.Content.dll
What a definition decodes into ({id: "crate", weight: 12.5, tags: ["a", "b"]}), which is what tests compare.
public abstract class DefValue
Inheritance¶
Derived¶
DefBool, DefList, DefNumber, DefRecord, DefText, DefVector
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Properties¶
Kind¶
public abstract DefKind Kind { get; }
Property Value¶
Methods¶
From(string)¶
public static DefValue From(string text)
Parameters¶
text string
Returns¶
From(double)¶
public static DefValue From(double number)
Parameters¶
number double
Returns¶
From(bool)¶
public static DefValue From(bool value)
Parameters¶
value bool
Returns¶
ToString()¶
Returns a string that represents the current object.
public override string ToString()
Returns¶
A string that represents the current object.