Table of Contents

Interface IComposedLinks<TLinkAddress>

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

A network made of other networks (issue #149), such as a UnionLinksDecorator<TLinkAddress> or a RemapLinksDecorator<TLinkAddress>: a link at a given address is created in the network the address is of, not by creating links in the primary one until the address comes up. EnsureCreated of LinksExtensions asks it, and so does every undo of a delete, such as the one of a write a permission layer refuses.

public interface IComposedLinks<TLinkAddress> where TLinkAddress : IUnsignedNumber<TLinkAddress>

Type Parameters

TLinkAddress

Methods

Whether address is of this network: a remap claims the addresses of its map, a union those any member claims.

bool Claims(TLinkAddress address)

Parameters

address TLinkAddress

Returns

bool

Creates a link at every address of addresses that has none, in the network the address is of.

void EnsureCreated(params TLinkAddress[] addresses)

Parameters

addresses TLinkAddress[]