Table of Contents

Class ShelfOrigin

Namespace
XENBIT.ResQueServe.Abstractions.Models
Assembly
RQS.Abstractions.dll
public record ShelfOrigin : ShelfOriginBase, IEquatable<ShelfOriginBase>, IEquatable<ShelfOrigin>
Inheritance
ShelfOrigin
Implements
Inherited Members
Extension Methods

Constructors

ShelfOrigin(string, string)

public ShelfOrigin(string Namespace, string Id)

Parameters

Namespace string
Id string

ShelfOrigin(ShelfOrigin)

protected ShelfOrigin(ShelfOrigin original)

Parameters

original ShelfOrigin

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Id

public string Id { get; init; }

Property Value

string

Namespace

public string Namespace { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string)

public void Deconstruct(out string Namespace, out string Id)

Parameters

Namespace string
Id string

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ShelfOrigin?)

public virtual bool Equals(ShelfOrigin? other)

Parameters

other ShelfOrigin

Returns

bool

Equals(ShelfOriginBase?)

public override sealed bool Equals(ShelfOriginBase? other)

Parameters

other ShelfOriginBase

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

Returns a string representation in the format: {Namespace}:{Id} (v{Version}) if a version is available.

public override string ToString()

Returns

string

Operators

operator ==(ShelfOrigin?, ShelfOrigin?)

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

Parameters

left ShelfOrigin
right ShelfOrigin

Returns

bool

operator !=(ShelfOrigin?, ShelfOrigin?)

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

Parameters

left ShelfOrigin
right ShelfOrigin

Returns

bool