Table of Contents

Class TripletsNotification

Namespace
Foundation.Data.Doublets.Cli.Protocol
Assembly
Foundation.Data.Doublets.Cli.dll

A change a LinksServer in triplet mode pushed to a subscriber; a side that does not fit the restriction (or that the subscriber may not read) is null.

public sealed record TripletsNotification : IEquatable<TripletsNotification>
Inheritance
TripletsNotification
Implements
Inherited Members

Constructors

TripletsNotification(uint, IReadOnlyList<TripletChange<uint>>)

A change a LinksServer in triplet mode pushed to a subscriber; a side that does not fit the restriction (or that the subscriber may not read) is null.

public TripletsNotification(uint Subscription, IReadOnlyList<TripletChange<uint>> Changes)

Parameters

Subscription uint
Changes IReadOnlyList<TripletChange<uint>>

Properties

Changes

public IReadOnlyList<TripletChange<uint>> Changes { get; init; }

Property Value

IReadOnlyList<TripletChange<uint>>

Subscription

public uint Subscription { get; init; }

Property Value

uint

Methods

Equals(TripletsNotification?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(TripletsNotification? other)

Parameters

other TripletsNotification

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.