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
Groups
Group ids (e.g. AU), matched case-insensitively.
public IReadOnlyList<string> Groups { get; init; }
Property Value
IsUnscoped
True when no group is selected.
public bool IsUnscoped { get; }
Property Value
Methods
Equals(LocalManifestFilter?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(LocalManifestFilter? other)
Parameters
otherLocalManifestFilterAn 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(string)
Returns true when the group with groupId passes the filter.
public bool Matches(string groupId)
Parameters
groupIdstring
Returns
ToCanonicalString()
A canonical text form, stable across list order and case, for fingerprints.
public string ToCanonicalString()