Class LinksNullConstantToSelfReferenceResolver<TLinkAddress>

Namespace
Platform.Data.Doublets.Decorators
Assembly
Platform.Data.Doublets.dll

Represents the links null constant to self reference resolver.

public class LinksNullConstantToSelfReferenceResolver<TLinkAddress> : LinksDecoratorBase<TLinkAddress>, ILinks<TLinkAddress>, ILinks<TLinkAddress, LinksConstants<TLinkAddress>> where TLinkAddress : IUnsignedNumber<TLinkAddress>

Type Parameters

TLinkAddress
Inheritance
LinksOperatorBase<TLinkAddress>
LinksDecoratorBase<TLinkAddress>
LinksNullConstantToSelfReferenceResolver<TLinkAddress>
Implements
ILinks<TLinkAddress>
ILinks<TLinkAddress, LinksConstants<TLinkAddress>>
Inherited Members
Extension Methods

Constructors

public LinksNullConstantToSelfReferenceResolver(ILinks<TLinkAddress> links)

Parameters

links ILinks<TLinkAddress>

A links.

Methods

Create(IList<TLinkAddress>?, WriteHandler<TLinkAddress>?)

Creates the substitution.

public override TLinkAddress Create(IList<TLinkAddress>? substitution, WriteHandler<TLinkAddress>? handler)

Parameters

substitution IList<TLinkAddress>

The substitution.

handler WriteHandler<TLinkAddress>

Optional callback; null continues without invoking a callback.

Returns

TLinkAddress

The link

Update(IList<TLinkAddress>?, IList<TLinkAddress>?, WriteHandler<TLinkAddress>?)

Updates the substitution.

public override TLinkAddress Update(IList<TLinkAddress>? restriction, IList<TLinkAddress>? substitution, WriteHandler<TLinkAddress>? handler)

Parameters

restriction IList<TLinkAddress>

The substitution.

substitution IList<TLinkAddress>

The substitution.

handler WriteHandler<TLinkAddress>

Optional callback; null continues without invoking a callback.

Returns

TLinkAddress

The link

See Also

LinksDecoratorBase<TLinkAddress>