Table of Contents

Class ParameterShovelValue

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

Constructors

ParameterShovelValue(ParameterShovelValue)

protected ParameterShovelValue(ParameterShovelValue original)

Parameters

original ParameterShovelValue

ParameterShovelValue(string, string, string?, string?, IReadOnlyDictionary<string, object?>?, string?, string?, string?, int?, string?, string?, IReadOnlyDictionary<string, object?>?, string?, string?, bool?, bool?, string?, int?)

public ParameterShovelValue(string SrcUri, string DestUri, string? SrcProtocol = null, string? SrcQueue = null, IReadOnlyDictionary<string, object?>? SrcQueueArguments = null, string? SrcExchange = null, string? SrcExchangeKey = null, string? SrcDeleteAfter = null, int? SrcPrefetchCount = null, string? DestProtocol = null, string? DestQueue = null, IReadOnlyDictionary<string, object?>? DestQueueArguments = null, string? DestExchange = null, string? DestExchangeKey = null, bool? DestAddForwardHeaders = null, bool? DestAddTimestampHeader = null, string? AckMode = null, int? ReconnectDelay = null)

Parameters

SrcUri string
DestUri string
SrcProtocol string
SrcQueue string
SrcQueueArguments IReadOnlyDictionary<string, object>
SrcExchange string
SrcExchangeKey string
SrcDeleteAfter string
SrcPrefetchCount int?
DestProtocol string
DestQueue string
DestQueueArguments IReadOnlyDictionary<string, object>
DestExchange string
DestExchangeKey string
DestAddForwardHeaders bool?
DestAddTimestampHeader bool?
AckMode string
ReconnectDelay int?

Properties

AckMode

[JsonPropertyName("ack-mode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? AckMode { get; init; }

Property Value

string

DestAddForwardHeaders

[JsonPropertyName("dest-add-forward-headers")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? DestAddForwardHeaders { get; init; }

Property Value

bool?

DestAddTimestampHeader

[JsonPropertyName("dest-add-timestamp-header")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? DestAddTimestampHeader { get; init; }

Property Value

bool?

DestExchange

[JsonPropertyName("dest-exchange")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DestExchange { get; init; }

Property Value

string

DestExchangeKey

[JsonPropertyName("dest-exchange-key")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DestExchangeKey { get; init; }

Property Value

string

DestProtocol

[JsonPropertyName("dest-protocol")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DestProtocol { get; init; }

Property Value

string

DestQueue

[JsonPropertyName("dest-queue")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? DestQueue { get; init; }

Property Value

string

DestQueueArguments

[JsonPropertyName("dest-queue-args")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringObjectReadOnlyDictionaryConverter))]
public IReadOnlyDictionary<string, object?>? DestQueueArguments { get; init; }

Property Value

IReadOnlyDictionary<string, object>

DestUri

[JsonPropertyName("dest-uri")]
public string DestUri { get; init; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

ExtensionData

[JsonIgnore]
public IReadOnlyDictionary<string, object?>? ExtensionData { get; set; }

Property Value

IReadOnlyDictionary<string, object>

JsonExtensionData

[JsonExtensionData]
public IDictionary<string, JsonElement>? JsonExtensionData { get; set; }

Property Value

IDictionary<string, JsonElement>

ReconnectDelay

[JsonPropertyName("reconnect-delay")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? ReconnectDelay { get; init; }

Property Value

int?

SrcDeleteAfter

[JsonPropertyName("src-delete-after")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SrcDeleteAfter { get; init; }

Property Value

string

SrcExchange

[JsonPropertyName("src-exchange")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SrcExchange { get; init; }

Property Value

string

SrcExchangeKey

[JsonPropertyName("src-exchange-key")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SrcExchangeKey { get; init; }

Property Value

string

SrcPrefetchCount

[JsonPropertyName("src-prefetch-count")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? SrcPrefetchCount { get; init; }

Property Value

int?

SrcProtocol

[JsonPropertyName("src-protocol")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SrcProtocol { get; init; }

Property Value

string

SrcQueue

[JsonPropertyName("src-queue")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? SrcQueue { get; init; }

Property Value

string

SrcQueueArguments

[JsonPropertyName("src-queue-args")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonConverter(typeof(StringObjectReadOnlyDictionaryConverter))]
public IReadOnlyDictionary<string, object?>? SrcQueueArguments { get; init; }

Property Value

IReadOnlyDictionary<string, object>

SrcUri

[JsonPropertyName("src-uri")]
public string SrcUri { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string, out string?, out string?, out IReadOnlyDictionary<string, object?>?, out string?, out string?, out string?, out int?, out string?, out string?, out IReadOnlyDictionary<string, object?>?, out string?, out string?, out bool?, out bool?, out string?, out int?)

public void Deconstruct(out string SrcUri, out string DestUri, out string? SrcProtocol, out string? SrcQueue, out IReadOnlyDictionary<string, object?>? SrcQueueArguments, out string? SrcExchange, out string? SrcExchangeKey, out string? SrcDeleteAfter, out int? SrcPrefetchCount, out string? DestProtocol, out string? DestQueue, out IReadOnlyDictionary<string, object?>? DestQueueArguments, out string? DestExchange, out string? DestExchangeKey, out bool? DestAddForwardHeaders, out bool? DestAddTimestampHeader, out string? AckMode, out int? ReconnectDelay)

Parameters

SrcUri string
DestUri string
SrcProtocol string
SrcQueue string
SrcQueueArguments IReadOnlyDictionary<string, object>
SrcExchange string
SrcExchangeKey string
SrcDeleteAfter string
SrcPrefetchCount int?
DestProtocol string
DestQueue string
DestQueueArguments IReadOnlyDictionary<string, object>
DestExchange string
DestExchangeKey string
DestAddForwardHeaders bool?
DestAddTimestampHeader bool?
AckMode string
ReconnectDelay int?

Equals(ParameterShovelValue?)

public virtual bool Equals(ParameterShovelValue? other)

Parameters

other ParameterShovelValue

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 ParameterShovelValue <Clone>$()

Returns

ParameterShovelValue

Operators

operator ==(ParameterShovelValue?, ParameterShovelValue?)

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

Parameters

left ParameterShovelValue
right ParameterShovelValue

Returns

bool

operator !=(ParameterShovelValue?, ParameterShovelValue?)

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

Parameters

left ParameterShovelValue
right ParameterShovelValue

Returns

bool