Class ChartCatalogsFilter
- Namespace
- EncDotNet.S100.Collections
- Assembly
- EncDotNet.S100.Collections.dll
Selects entries from a community chart list by number. With no entry selected, every entry matches.
public sealed record ChartCatalogsFilter : IEquatable<ChartCatalogsFilter>
- Inheritance
-
ChartCatalogsFilter
- Implements
- Inherited Members
Properties
All
A filter that matches every entry.
public static ChartCatalogsFilter All { get; }
Property Value
Charts
Entry numbers (Number), matched case-insensitively.
public IReadOnlyList<string> Charts { get; init; }
Property Value
IsUnscoped
True when no entry is selected.
public bool IsUnscoped { get; }
Property Value
Methods
Equals(ChartCatalogsFilter?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ChartCatalogsFilter? other)
Parameters
otherChartCatalogsFilterAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Matches(ChartCatalogsChart)
Returns true when chart passes the filter.
public bool Matches(ChartCatalogsChart chart)
Parameters
chartChartCatalogsChart
Returns
ToCanonicalString()
A canonical text form, stable across list order and case, for fingerprints.
public string ToCanonicalString()