Class UsaceIencFilter
- Namespace
- EncDotNet.S100.Collections
- Assembly
- EncDotNet.S100.Collections.dll
Selects cells from a USACE Inland ENC product catalogue by river. With no river selected, every cell matches.
public sealed record UsaceIencFilter : IEquatable<UsaceIencFilter>
- Inheritance
-
UsaceIencFilter
- Implements
- Inherited Members
Properties
All
A filter that matches every cell.
public static UsaceIencFilter All { get; }
Property Value
IsUnscoped
True when no river is selected.
public bool IsUnscoped { get; }
Property Value
Rivers
River names (e.g. Ohio), matched case-insensitively.
public IReadOnlyList<string> Rivers { get; init; }
Property Value
Methods
Equals(UsaceIencFilter?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(UsaceIencFilter? other)
Parameters
otherUsaceIencFilterAn 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(UsaceIencCell)
Returns true when cell passes the filter.
public bool Matches(UsaceIencCell cell)
Parameters
cellUsaceIencCell
Returns
ToCanonicalString()
A canonical text form, stable across list order and case, for fingerprints.
public string ToCanonicalString()