Class Exchange
- Namespace
- EasyNetQ.Management.Client.Model
- Assembly
- EasyNetQ.Management.Client.dll
public record Exchange : ExchangeName, IEquatable<ExchangeName>, IEquatable<Exchange>
- Inheritance
-
Exchange
- Implements
-
- Inherited Members
-
Constructors
Exchange(Exchange)
protected Exchange(Exchange original)
Parameters
original
Exchange
Exchange(string, string, string, bool, bool, bool, IReadOnlyDictionary<string, object>?, string?, MessageStats?)
public Exchange(string Name, string Vhost, string Type, bool Durable = true, bool AutoDelete = false, bool Internal = false, IReadOnlyDictionary<string, object>? Arguments = null, string? UserWhoPerformedAction = null, MessageStats? MessageStats = null)
Parameters
Name
string
Vhost
string
Type
string
Durable
bool
AutoDelete
bool
Internal
bool
Arguments
IReadOnlyDictionary<string, object>
UserWhoPerformedAction
string
MessageStats
MessageStats
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 override Type EqualityContract { get; }
Property Value
- Type
Internal
public bool Internal { get; init; }
Property Value
- bool
MessageStats
public MessageStats? MessageStats { get; init; }
Property Value
- MessageStats
Type
public string Type { get; init; }
Property Value
- string
public string? UserWhoPerformedAction { get; init; }
Property Value
- string
Methods
Deconstruct(out string, out string, out string, out bool, out bool, out bool, out IReadOnlyDictionary<string, object>?, out string?, out MessageStats?)
public void Deconstruct(out string Name, out string Vhost, out string Type, out bool Durable, out bool AutoDelete, out bool Internal, out IReadOnlyDictionary<string, object>? Arguments, out string? UserWhoPerformedAction, out MessageStats? MessageStats)
Parameters
Name
string
Vhost
string
Type
string
Durable
bool
AutoDelete
bool
Internal
bool
Arguments
IReadOnlyDictionary<string, object>
UserWhoPerformedAction
string
MessageStats
MessageStats
Equals(Exchange?)
public virtual bool Equals(Exchange? other)
Parameters
other
Exchange
Returns
- bool
Equals(ExchangeName?)
public override sealed bool Equals(ExchangeName? other)
Parameters
other
ExchangeName
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 override bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
- bool
ToString()
public override string ToString()
Returns
- string
<Clone>$()
public override Exchange <Clone>$()
Returns
- Exchange
Operators
operator ==(Exchange?, Exchange?)
public static bool operator ==(Exchange? left, Exchange? right)
Parameters
left
Exchange
right
Exchange
Returns
- bool
operator !=(Exchange?, Exchange?)
public static bool operator !=(Exchange? left, Exchange? right)
Parameters
left
Exchange
right
Exchange
Returns
- bool