Class S100FeedFilter
- Namespace
- EncDotNet.S100.Collections
- Assembly
- EncDotNet.S100.Collections.dll
Selects items from an S-100 feed by product specification. With no product selected, every item matches.
public sealed record S100FeedFilter : IEquatable<S100FeedFilter>
- Inheritance
-
S100FeedFilter
- Implements
- Inherited Members
Properties
All
A filter that matches every item.
public static S100FeedFilter All { get; }
Property Value
IsUnscoped
True when no product is selected.
public bool IsUnscoped { get; }
Property Value
ProductSpecs
Product specifications (e.g. S-101), matched case-insensitively.
public IReadOnlyList<string> ProductSpecs { get; init; }
Property Value
Methods
Equals(S100FeedFilter?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(S100FeedFilter? other)
Parameters
otherS100FeedFilterAn 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(CollectionItem)
Returns true when item passes the filter.
public bool Matches(CollectionItem item)
Parameters
itemCollectionItem
Returns
ToCanonicalString()
A canonical text form, stable across list order and case, for fingerprints.
public string ToCanonicalString()