Table of Contents

Class MetadataFilter.Comparison

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

A comparison node: tests the metadata value stored under Key against this node's typed value(s) with a single operator.

public sealed class MetadataFilter.Comparison : MetadataFilter
Inheritance
MetadataFilter.Comparison
Inherited Members

Properties

ConditionCount

Gets the total number of nodes in this node's subtree, itself included.

Depth

Gets the nesting depth of this node's subtree (a single comparison is 1).

Key

Gets the metadata key this comparison tests.

Operator

Gets the operation this node applies.

Values

Gets the comparison values: one value for binary operators, the value list for In/NotIn, and a single boolean for Exists.

Methods

Matches(MetadataCollection)

Evaluates this filter against a metadata collection.

Share