Table of Contents

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

S100FeedFilter

IsUnscoped

True when no product is selected.

public bool IsUnscoped { get; }

Property Value

bool

ProductSpecs

Product specifications (e.g. S-101), matched case-insensitively.

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

Property Value

IReadOnlyList<string>

Methods

Equals(S100FeedFilter?)

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

public bool Equals(S100FeedFilter? other)

Parameters

other S100FeedFilter

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

Returns true when item passes the filter.

public bool Matches(CollectionItem item)

Parameters

item CollectionItem

Returns

bool

ToCanonicalString()

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

public string ToCanonicalString()

Returns

string