Table of Contents

Class LibraryItemQuery

Namespace
EncDotNet.S100.Collections.Library
Assembly
EncDotNet.S100.Collections.dll
public sealed record LibraryItemQuery : IEquatable<LibraryItemQuery>
Inheritance
LibraryItemQuery
Implements
Inherited Members

Constructors

LibraryItemQuery(Guid?, IReadOnlySet<LibraryAvailability>?, string?, string?, GeoBounds?, GeoPosition?)

public LibraryItemQuery(Guid? SourceId = null, IReadOnlySet<LibraryAvailability>? States = null, string? Spec = null, string? Text = null, GeoBounds? Bounds = null, GeoPosition? Point = null)

Parameters

SourceId Guid?

A collection or source id, or null for the whole library.

States IReadOnlySet<LibraryAvailability>

States to keep, or null (or empty) for all.

Spec string

A product specification to keep, e.g. "S-111", or null.

Text string

Text matched against name, title, spec and properties (Matches(string)), or null.

Bounds GeoBounds?

Keep items whose bounds intersect this box, or null.

Point GeoPosition?

Keep items whose coverage contains this point, most detailed first (HitsAt(IReadOnlyList<LibraryCollection>, GeoPosition)), or null.

Properties

Bounds

Keep items whose bounds intersect this box, or null.

public GeoBounds? Bounds { get; init; }

Property Value

GeoBounds?

Point

Keep items whose coverage contains this point, most detailed first (HitsAt(IReadOnlyList<LibraryCollection>, GeoPosition)), or null.

public GeoPosition? Point { get; init; }

Property Value

GeoPosition?

SourceId

A collection or source id, or null for the whole library.

public Guid? SourceId { get; init; }

Property Value

Guid?

Spec

A product specification to keep, e.g. "S-111", or null.

public string? Spec { get; init; }

Property Value

string

States

States to keep, or null (or empty) for all.

public IReadOnlySet<LibraryAvailability>? States { get; init; }

Property Value

IReadOnlySet<LibraryAvailability>

Text

Text matched against name, title, spec and properties (Matches(string)), or null.

public string? Text { get; init; }

Property Value

string

ValidAt

Keep only items whose data covers this time (#711, ValidWindow).

public DateTime? ValidAt { get; init; }

Property Value

DateTime?