
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
InetAddressRangeQuery(string, IPAddress, IPAddress, bool, bool)
Initialises an IP address range query.
Field
Gets the single field this query targets, or an empty value for fieldless and multi-field queries.
IncludeLower
Gets whether the lower bound is inclusive.
IncludeUpper
Gets whether the upper bound is inclusive.
Lower
Gets the lower address bound.
Upper
Gets the upper address bound.
Equals(object?)
Determines whether the specified object is equal to the current object.
GetHashCode()
Serves as the default hash function.
Rewrite()
Rewrites this query to an executable query form. Custom query types can override this to lower themselves to built-in queries.