Table of Contents

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

UsaceIencFilter

IsUnscoped

True when no river is selected.

public bool IsUnscoped { get; }

Property Value

bool

Rivers

River names (e.g. Ohio), matched case-insensitively.

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

Property Value

IReadOnlyList<string>

Methods

Equals(UsaceIencFilter?)

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

public bool Equals(UsaceIencFilter? other)

Parameters

other UsaceIencFilter

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

Returns true when cell passes the filter.

public bool Matches(UsaceIencCell cell)

Parameters

cell UsaceIencCell

Returns

bool

ToCanonicalString()

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

public string ToCanonicalString()

Returns

string