Table of Contents

Struct SinkSupply<TNodeId>

Namespace
SpatialNET.Network
Assembly
SpatialNET.Network.dll

The sources that supply a sink (ADR 0051).

public readonly record struct SinkSupply<TNodeId> : IEquatable<SinkSupply<TNodeId>> where TNodeId : notnull, IEquatable<TNodeId>

Type Parameters

TNodeId

Implements

Inherited Members

Constructors

SinkSupply(TNodeId, IReadOnlyList<TNodeId>)

The sources that supply a sink (ADR 0051).

public SinkSupply(TNodeId Sink, IReadOnlyList<TNodeId> Sources)

Parameters

Sink TNodeId

The sink.

Sources IReadOnlyList<TNodeId>

The sources whose run reaches and passes to the sink, in the order of the sources of the call: empty means not supplied, more than one means multiple supply.

Properties

Sink

The sink.

public TNodeId Sink { get; init; }

Property Value

TNodeId

Sources

The sources whose run reaches and passes to the sink, in the order of the sources of the call: empty means not supplied, more than one means multiple supply.

public IReadOnlyList<TNodeId> Sources { get; init; }

Property Value

IReadOnlyList<TNodeId>