Table of Contents

Class ExchangeTypeSpec

Namespace
EasyNetQ.Management.Client.Model
Assembly
EasyNetQ.Management.Client.dll
public record ExchangeTypeSpec : IEquatable<ExchangeTypeSpec>
Inheritance
ExchangeTypeSpec
Implements
Inherited Members

Constructors

ExchangeTypeSpec(ExchangeTypeSpec)

protected ExchangeTypeSpec(ExchangeTypeSpec original)

Parameters

original ExchangeTypeSpec

ExchangeTypeSpec(string, string, bool)

public ExchangeTypeSpec(string Name, string Description, bool Enabled)

Parameters

Name string
Description string
Enabled bool

Properties

Description

public string Description { get; init; }

Property Value

string

Enabled

public bool Enabled { get; init; }

Property Value

bool

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Name

public string Name { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string, out bool)

public void Deconstruct(out string Name, out string Description, out bool Enabled)

Parameters

Name string
Description string
Enabled bool

Equals(ExchangeTypeSpec?)

public virtual bool Equals(ExchangeTypeSpec? other)

Parameters

other ExchangeTypeSpec

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

<Clone>$()

public virtual ExchangeTypeSpec <Clone>$()

Returns

ExchangeTypeSpec

Operators

operator ==(ExchangeTypeSpec?, ExchangeTypeSpec?)

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

Parameters

left ExchangeTypeSpec
right ExchangeTypeSpec

Returns

bool

operator !=(ExchangeTypeSpec?, ExchangeTypeSpec?)

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

Parameters

left ExchangeTypeSpec
right ExchangeTypeSpec

Returns

bool