Table of Contents

Method FromMetadata

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

FromMetadata(MetadataCollection)

Builds the filter equivalent to legacy containment filtering: the conjunction of one string-equality comparison per metadata entry.

public static MetadataFilter FromMetadata(MetadataCollection metadata)

Parameters

metadata MetadataCollection

The key/value pairs that must all be present with equal values.

Returns

MetadataFilter

The equivalent filter, or null when metadata is null or empty.

Share