Struct DataPathSegment¶
Namespace: Apogee.Reflection
Assembly: Apogee.Reflection.dll
One step down into a table: the field
public readonly record struct DataPathSegment : IEquatable<DataPathSegment>
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
DataPathSegment(string?, int)¶
One step down into a table: the field
public DataPathSegment(string? Name, int Index = -1)
Parameters¶
Name string?
Index int
Properties¶
Index¶
public int Index { get; init; }
Property Value¶
Name¶
public string? Name { get; init; }
Property Value¶
Methods¶
Element(int)¶
public static DataPathSegment Element(int index)
Parameters¶
index int
Returns¶
Field(string)¶
public static DataPathSegment Field(string name)
Parameters¶
name string