Section navigation

Public classSealed InetAddressRangeQuery

Namespace
Rowles.LeanCorpus.Search.Queries
Assembly
Rowles.LeanCorpus.dll

Matches IPv4 or IPv6 values within an inclusive or exclusive address range.

public sealed class InetAddressRangeQuery : Query, IEquatable<Query>
Inheritance
InetAddressRangeQuery
Implements
Inherited Members
Extension Methods

Public constructor InetAddressRangeQuery(string, IPAddress, IPAddress, bool, bool)

Initialises an IP address range query.

Public property Field

Gets the single field this query targets, or an empty value for fieldless and multi-field queries.

Public property IncludeLower

Gets whether the lower bound is inclusive.

Public property IncludeUpper

Gets whether the upper bound is inclusive.

Public property Lower

Gets the lower address bound.

Public property Upper

Gets the upper address bound.

Public method Equals(object?)

Determines whether the specified object is equal to the current object.

Public method GetHashCode()

Serves as the default hash function.

Public method Rewrite()

Rewrites this query to an executable query form. Custom query types can override this to lower themselves to built-in queries.