Struct PropertyPath.Part
Syntax
public struct Part : IEquatable<PropertyPath.Part>
Constructors
Part(Int32)
Declaration
Parameters
Type |
Name |
Description |
Int32 |
index |
The index of the part.
|
Part(Object)
Declaration
Parameters
Type |
Name |
Description |
Object |
key |
The key of the part.
|
Part(String)
Declaration
Parameters
Type |
Name |
Description |
String |
name |
The name of the part.
|
Properties
Index
The Index of the part. This will only be set when using Index
Declaration
public int Index { get; }
Property Value
IsIndex
Returns true if the part is Index.
Declaration
public bool IsIndex { get; }
Property Value
IsKey
Returns true if the part is Key.
Declaration
public bool IsKey { get; }
Property Value
IsName
Returns true if the part is Name.
Declaration
public bool IsName { get; }
Property Value
Key
The Key of the part. This will only be set when using Key
Declaration
public object Key { get; }
Property Value
Name
The Name of the part. This will only be set when using Name
Declaration
public string Name { get; }
Property Value
Type
Declaration
public PropertyPath.PartType Type { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(PropertyPath.Part)
Declaration
public bool Equals(PropertyPath.Part other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides