Table of Contents

Class SecomRegistryListing

Namespace
EncDotNet.S100.Collections.Secom
Assembly
EncDotNet.S100.Collections.dll

A registry listing: the usable services, and what was dropped.

public sealed record SecomRegistryListing : IEquatable<SecomRegistryListing>
Inheritance
SecomRegistryListing
Implements
Inherited Members

Constructors

SecomRegistryListing(IReadOnlyList<SecomRegistryService>, int, int, DateTimeOffset, string?)

A registry listing: the usable services, and what was dropped.

public SecomRegistryListing(IReadOnlyList<SecomRegistryService> Services, int Listed, int Dropped, DateTimeOffset FetchedAt, string? Stale = null)

Parameters

Services IReadOnlyList<SecomRegistryService>

The usable services, released first.

Listed int

How many instances the registry listed.

Dropped int

How many were dropped (deleted, unusable endpoint, duplicate).

FetchedAt DateTimeOffset

When the listing was fetched from the registry.

Stale string

Why the registry could not be refreshed when a cached copy was served; otherwise null.

Properties

Dropped

How many were dropped (deleted, unusable endpoint, duplicate).

public int Dropped { get; init; }

Property Value

int

FetchedAt

When the listing was fetched from the registry.

public DateTimeOffset FetchedAt { get; init; }

Property Value

DateTimeOffset

Listed

How many instances the registry listed.

public int Listed { get; init; }

Property Value

int

Services

The usable services, released first.

public IReadOnlyList<SecomRegistryService> Services { get; init; }

Property Value

IReadOnlyList<SecomRegistryService>

Stale

Why the registry could not be refreshed when a cached copy was served; otherwise null.

public string? Stale { get; init; }

Property Value

string