Table of Contents

Constructor MetadataFilterValue

Namespace
LMKit.Data
Assembly
LM-Kit.NET.dll

MetadataFilterValue(string)

Creates a text value. Range operators compare text ordinally (byte order), so text ranges are only meaningful for values with a stable lexical ordering.

public MetadataFilterValue(string value)

Parameters

value string

The text to compare against. Must not be null.

MetadataFilterValue(double)

Creates a numeric value. Stored metadata strings are parsed with the invariant culture before the comparison; values that do not parse never match.

public MetadataFilterValue(double value)

Parameters

value double

The number to compare against. Must be finite.

MetadataFilterValue(bool)

Creates a boolean value. Stored metadata strings match when they equal "true" or "false" (case-insensitive); other values never match.

public MetadataFilterValue(bool value)

Parameters

value bool

The boolean to compare against.

MetadataFilterValue(DateTimeOffset)

Creates a date value. Stored metadata strings are parsed as ISO 8601 dates or timestamps and the instants are compared; values that do not parse never match.

public MetadataFilterValue(DateTimeOffset value)

Parameters

value DateTimeOffset

The instant to compare against.

Share