Table of Contents

Class LocalManifestFilter

Namespace
EncDotNet.S100.Collections
Assembly
EncDotNet.S100.Collections.dll

Selects groups from a collection manifest. With no group selected, every group matches — including groups added to the manifest later.

public sealed record LocalManifestFilter : IEquatable<LocalManifestFilter>
Inheritance
LocalManifestFilter
Implements
Inherited Members

Properties

All

A filter that matches every group.

public static LocalManifestFilter All { get; }

Property Value

LocalManifestFilter

Groups

Group ids (e.g. AU), matched case-insensitively.

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

Property Value

IReadOnlyList<string>

IsUnscoped

True when no group is selected.

public bool IsUnscoped { get; }

Property Value

bool

Methods

Equals(LocalManifestFilter?)

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

public bool Equals(LocalManifestFilter? other)

Parameters

other LocalManifestFilter

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(string)

Returns true when the group with groupId passes the filter.

public bool Matches(string groupId)

Parameters

groupId string

Returns

bool

ToCanonicalString()

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

public string ToCanonicalString()

Returns

string