Class ExchangeInfo
- Namespace
- EasyNetQ.Management.Client.Model
- Assembly
- EasyNetQ.Management.Client.dll
public record ExchangeInfo : IEquatable<ExchangeInfo>
- Inheritance
-
ExchangeInfo
- Implements
-
- Inherited Members
-
Constructors
ExchangeInfo(ExchangeInfo)
protected ExchangeInfo(ExchangeInfo original)
Parameters
original
ExchangeInfo
ExchangeInfo(string, bool, bool, bool, IReadOnlyDictionary<string, object?>?)
public ExchangeInfo(string Type, bool AutoDelete = false, bool Durable = true, bool Internal = false, IReadOnlyDictionary<string, object?>? Arguments = null)
Parameters
Type
string
AutoDelete
bool
Durable
bool
Internal
bool
Arguments
IReadOnlyDictionary<string, object>
Properties
Arguments
[JsonConverter(typeof(StringObjectReadOnlyDictionaryConverter))]
public IReadOnlyDictionary<string, object?>? Arguments { get; init; }
Property Value
- IReadOnlyDictionary<string, object>
AutoDelete
public bool AutoDelete { get; init; }
Property Value
- bool
Durable
public bool Durable { get; init; }
Property Value
- bool
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
- Type
Internal
public bool Internal { get; init; }
Property Value
- bool
Type
public string Type { get; init; }
Property Value
- string
Methods
Deconstruct(out string, out bool, out bool, out bool, out IReadOnlyDictionary<string, object?>?)
public void Deconstruct(out string Type, out bool AutoDelete, out bool Durable, out bool Internal, out IReadOnlyDictionary<string, object?>? Arguments)
Parameters
Type
string
AutoDelete
bool
Durable
bool
Internal
bool
Arguments
IReadOnlyDictionary<string, object>
Equals(ExchangeInfo?)
public virtual bool Equals(ExchangeInfo? other)
Parameters
other
ExchangeInfo
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 ExchangeInfo <Clone>$()
Returns
- ExchangeInfo
Operators
operator ==(ExchangeInfo?, ExchangeInfo?)
public static bool operator ==(ExchangeInfo? left, ExchangeInfo? right)
Parameters
left
ExchangeInfo
right
ExchangeInfo
Returns
- bool
operator !=(ExchangeInfo?, ExchangeInfo?)
public static bool operator !=(ExchangeInfo? left, ExchangeInfo? right)
Parameters
left
ExchangeInfo
right
ExchangeInfo
Returns
- bool