Class PluginUpdateCheckSnapshot

Namespace
Kuestenlogik.Bowire.Plugins
Assembly
Kuestenlogik.Bowire.dll

Persisted shape of an update-check run.

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

Constructors

PluginUpdateCheckSnapshot(DateTimeOffset, bool, IReadOnlyList<PluginUpdateCheckResult>)

Persisted shape of an update-check run.

public PluginUpdateCheckSnapshot(DateTimeOffset CheckedAt, bool IncludePrerelease, IReadOnlyList<PluginUpdateCheckResult> Results)

Parameters

CheckedAt DateTimeOffset
IncludePrerelease bool
Results IReadOnlyList<PluginUpdateCheckResult>

Properties

CheckedAt

public DateTimeOffset CheckedAt { get; init; }

Property Value

DateTimeOffset

IncludePrerelease

public bool IncludePrerelease { get; init; }

Property Value

bool

Results

public IReadOnlyList<PluginUpdateCheckResult> Results { get; init; }

Property Value

IReadOnlyList<PluginUpdateCheckResult>

Methods

Deconstruct(out DateTimeOffset, out bool, out IReadOnlyList<PluginUpdateCheckResult>)

public void Deconstruct(out DateTimeOffset CheckedAt, out bool IncludePrerelease, out IReadOnlyList<PluginUpdateCheckResult> Results)

Parameters

CheckedAt DateTimeOffset
IncludePrerelease bool
Results IReadOnlyList<PluginUpdateCheckResult>

Equals(PluginUpdateCheckSnapshot?)

public bool Equals(PluginUpdateCheckSnapshot? other)

Parameters

other PluginUpdateCheckSnapshot

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(PluginUpdateCheckSnapshot?, PluginUpdateCheckSnapshot?)

public static bool operator ==(PluginUpdateCheckSnapshot? left, PluginUpdateCheckSnapshot? right)

Parameters

left PluginUpdateCheckSnapshot
right PluginUpdateCheckSnapshot

Returns

bool

operator !=(PluginUpdateCheckSnapshot?, PluginUpdateCheckSnapshot?)

public static bool operator !=(PluginUpdateCheckSnapshot? left, PluginUpdateCheckSnapshot? right)

Parameters

left PluginUpdateCheckSnapshot
right PluginUpdateCheckSnapshot

Returns

bool