Struct SelectorPath
public readonly struct SelectorPath : IEnumerable<Selector>, IEnumerable, IEquatable<SelectorPath>
- Implements
- Inherited Members
Constructors
SelectorPath()
public SelectorPath()
SelectorPath(IEnumerable<Selector>)
public SelectorPath(IEnumerable<Selector> selectors)
Parameters
selectorsIEnumerable<Selector>
SelectorPath(params Selector[])
public SelectorPath(params Selector[] selectors)
Parameters
selectorsSelector[]
Methods
Add(Selector)
public SelectorPath Add(Selector selector)
Parameters
selectorSelector
Returns
Append(SelectorPath, Selector)
public static SelectorPath Append(SelectorPath path, Selector selector)
Parameters
pathSelectorPathselectorSelector
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
Equals(SelectorPath)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SelectorPath other)
Parameters
otherSelectorPathAn object to compare with this object.
Returns
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<Selector> GetEnumerator()
Returns
- IEnumerator<Selector>
An enumerator that can be used to iterate through the collection.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(SelectorPath, SelectorPath)
public static bool operator ==(SelectorPath left, SelectorPath right)
Parameters
leftSelectorPathrightSelectorPath
Returns
operator !=(SelectorPath, SelectorPath)
public static bool operator !=(SelectorPath left, SelectorPath right)
Parameters
leftSelectorPathrightSelectorPath