Class AdapterPackageUpdateOffer

Namespace
MirrorPulse.Adapter.Sdk
Assembly
MirrorPulse.Adapter.Sdk.dll

A proposed package at an HTTPS URL or a local Windows file location.

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

Constructors

AdapterPackageUpdateOffer(string, string, Uri)

A proposed package at an HTTPS URL or a local Windows file location.

public AdapterPackageUpdateOffer(string AdapterId, string Version, Uri Location)

Parameters

AdapterId string
Version string
Location Uri

Properties

AdapterId

[JsonPropertyName("adapterId")]
public string AdapterId { get; init; }

Property Value

string

Location

[JsonPropertyName("location")]
public Uri Location { get; init; }

Property Value

Uri

Version

[JsonPropertyName("version")]
public string Version { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string, out Uri)

public void Deconstruct(out string AdapterId, out string Version, out Uri Location)

Parameters

AdapterId string
Version string
Location Uri

Equals(AdapterPackageUpdateOffer?)

public bool Equals(AdapterPackageUpdateOffer? other)

Parameters

other AdapterPackageUpdateOffer

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 ==(AdapterPackageUpdateOffer?, AdapterPackageUpdateOffer?)

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

Parameters

left AdapterPackageUpdateOffer
right AdapterPackageUpdateOffer

Returns

bool

operator !=(AdapterPackageUpdateOffer?, AdapterPackageUpdateOffer?)

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

Parameters

left AdapterPackageUpdateOffer
right AdapterPackageUpdateOffer

Returns

bool