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
ServicesIReadOnlyList<SecomRegistryService>The usable services, released first.
ListedintHow many instances the registry listed.
DroppedintHow many were dropped (deleted, unusable endpoint, duplicate).
FetchedAtDateTimeOffsetWhen the listing was fetched from the registry.
StalestringWhy 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
FetchedAt
When the listing was fetched from the registry.
public DateTimeOffset FetchedAt { get; init; }
Property Value
Listed
How many instances the registry listed.
public int Listed { get; init; }
Property Value
Services
The usable services, released first.
public IReadOnlyList<SecomRegistryService> Services { get; init; }
Property Value
Stale
Why the registry could not be refreshed when a cached copy was served; otherwise null.
public string? Stale { get; init; }