Class AdapterHello

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

The Worker version range and the case-sensitive capabilities it offers.

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

Constructors

AdapterHello(AdapterVersionRange, IReadOnlyList<string>)

The Worker version range and the case-sensitive capabilities it offers.

public AdapterHello(AdapterVersionRange SupportedVersions, IReadOnlyList<string> Capabilities)

Parameters

SupportedVersions AdapterVersionRange
Capabilities IReadOnlyList<string>

Properties

Capabilities

public IReadOnlyList<string> Capabilities { get; init; }

Property Value

IReadOnlyList<string>

SupportedVersions

public AdapterVersionRange SupportedVersions { get; init; }

Property Value

AdapterVersionRange

Methods

Deconstruct(out AdapterVersionRange, out IReadOnlyList<string>)

public void Deconstruct(out AdapterVersionRange SupportedVersions, out IReadOnlyList<string> Capabilities)

Parameters

SupportedVersions AdapterVersionRange
Capabilities IReadOnlyList<string>

Equals(AdapterHello?)

public bool Equals(AdapterHello? other)

Parameters

other AdapterHello

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

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

Parameters

left AdapterHello
right AdapterHello

Returns

bool

operator !=(AdapterHello?, AdapterHello?)

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

Parameters

left AdapterHello
right AdapterHello

Returns

bool