Table of Contents

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

ChartCatalogsFilter

Charts

Entry numbers (Number), matched case-insensitively.

public IReadOnlyList<string> Charts { get; init; }

Property Value

IReadOnlyList<string>

IsUnscoped

True when no entry is selected.

public bool IsUnscoped { get; }

Property Value

bool

Methods

Equals(ChartCatalogsFilter?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ChartCatalogsFilter? other)

Parameters

other ChartCatalogsFilter

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

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

chart ChartCatalogsChart

Returns

bool

ToCanonicalString()

A canonical text form, stable across list order and case, for fingerprints.

public string ToCanonicalString()

Returns

string