Skip to main content

Struct TelemetrySample

Namespace: VelloSharp.Composition.Telemetry
Assembly: VelloSharp.Composition.dll

public readonly record struct TelemetrySample : IEquatable<TelemetrySample>

Implements​

IEquatable<TelemetrySample>

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

TelemetrySample(DateTime, double, TelemetryQuality, string?, IReadOnlyDictionary<string, double>?)​

public TelemetrySample(DateTime TimestampUtc, double Value, TelemetryQuality Quality, string? Unit, IReadOnlyDictionary<string, double>? Dimensions)

Parameters​

TimestampUtc DateTime

Value double

Quality TelemetryQuality

Unit string?

Dimensions IReadOnlyDictionary<string, double>?

Properties​

Dimensions​

public IReadOnlyDictionary<string, double>? Dimensions { get; init; }

Property Value​

IReadOnlyDictionary<string, double>?

Quality​

public TelemetryQuality Quality { get; init; }

Property Value​

TelemetryQuality

TimestampUtc​

public DateTime TimestampUtc { get; init; }

Property Value​

DateTime

Unit​

public string? Unit { get; init; }

Property Value​

string?

Value​

public double Value { get; init; }

Property Value​

double