Table of Contents

Class RangeFilter

Namespace
MassiveDotNet
Assembly
MassiveDotNet.dll

Factories for RangeFilter<T>. They live on a non-generic class so the element type is inferred from the argument: RangeFilter.Gt(0.5) rather than RangeFilter<double>.Gt(0.5).

public static class RangeFilter
Inheritance
RangeFilter
Inherited Members

Methods

Between<T>(T, T)

Results at or above lower and at or below upper: field.gte=lower&field.lte=upper. Inclusive at both ends; ordering is not checked.

public static RangeFilter<T> Between<T>(T lower, T upper)

Parameters

lower T

The inclusive lower bound.

upper T

The inclusive upper bound.

Returns

RangeFilter<T>

The filter.

Type Parameters

T

The field's element type.

Gt<T>(T)

Results strictly greater than value: field.gt=value.

public static RangeFilter<T> Gt<T>(T value)

Parameters

value T

The exclusive lower bound.

Returns

RangeFilter<T>

The filter.

Type Parameters

T

The field's element type.

Gte<T>(T)

Results at or above value: field.gte=value.

public static RangeFilter<T> Gte<T>(T value)

Parameters

value T

The inclusive lower bound.

Returns

RangeFilter<T>

The filter.

Type Parameters

T

The field's element type.

Lt<T>(T)

Results strictly below value: field.lt=value.

public static RangeFilter<T> Lt<T>(T value)

Parameters

value T

The exclusive upper bound.

Returns

RangeFilter<T>

The filter.

Type Parameters

T

The field's element type.

Lte<T>(T)

Results at or below value: field.lte=value.

public static RangeFilter<T> Lte<T>(T value)

Parameters

value T

The inclusive upper bound.

Returns

RangeFilter<T>

The filter.

Type Parameters

T

The field's element type.