Table of Contents

Class MessageRateSample

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

Constructors

MessageRateSample(MessageRateSample)

protected MessageRateSample(MessageRateSample original)

Parameters

original MessageRateSample

MessageRateSample(long, DateTime)

public MessageRateSample(long Sample, DateTime Timestamp)

Parameters

Sample long
Timestamp DateTime

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Sample

public long Sample { get; init; }

Property Value

long

Timestamp

[JsonConverter(typeof(UnixMsDateTimeConverter))]
public DateTime Timestamp { get; init; }

Property Value

DateTime

Methods

Deconstruct(out long, out DateTime)

public void Deconstruct(out long Sample, out DateTime Timestamp)

Parameters

Sample long
Timestamp DateTime

Equals(MessageRateSample?)

public virtual bool Equals(MessageRateSample? other)

Parameters

other MessageRateSample

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

Returns

MessageRateSample

Operators

operator ==(MessageRateSample?, MessageRateSample?)

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

Parameters

left MessageRateSample
right MessageRateSample

Returns

bool

operator !=(MessageRateSample?, MessageRateSample?)

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

Parameters

left MessageRateSample
right MessageRateSample

Returns

bool