Skip to content
Documentation

INodeStore<TIdentifier> Interface

Used to find, load, save or delete INodes. Should only be instantiated by an INodeStoreFactory.

public interface INodeStore<TIdentifier> : HAKOM.TSM.Net.Api.Attributes.Nodes.Persistence.INodeStore, HAKOM.Persistence.Core.Net.Api.Storage.IStore<HAKOM.Persistence.Core.Net.Api.Storage.IStorageProvider>
where TIdentifier : System.IEquatable<TIdentifier>

TIdentifier

The type of unique identifier used to refer to INode objects.

Implements INodeStore, HAKOM.Persistence.Core.Net.Api.Storage.IStore<IStorageProvider>

INodeStore<TIdentifier>.References Property

Section titled “INodeStore<TIdentifier>.References Property”

Gets a factory used to create INodeReference<TIdentifier> objects.

HAKOM.TSM.Net.Api.Attributes.Nodes.Persistence.References.INodeReferenceFactory<TIdentifier> References { get; }

HAKOM.TSM.Net.Api.Attributes.Nodes.Persistence.References.INodeReferenceFactory<TIdentifier>

INodeStore<TIdentifier>.Load(TIdentifier, CancellationToken) Method

Section titled “INodeStore<TIdentifier>.Load(TIdentifier, CancellationToken) Method”

Loads the INodeReference with the given identifier.

System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Attributes.Nodes.Persistence.References.INodeReference> Load(TIdentifier identifier, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

identifier TIdentifier

The unique identifier of the node in the repository.

cancellationToken System.Threading.CancellationToken

A token that may be used to cancel the operation.

System.Threading.Tasks.Task<INodeReference>
A System.Threading.Tasks.Task<> containing an INodeReference to the desired INode.

INodeStore<TIdentifier>.TryLoad(TIdentifier, CancellationToken) Method

Section titled “INodeStore<TIdentifier>.TryLoad(TIdentifier, CancellationToken) Method”

Attempts to load the INodeReference with the given identifier.

System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Attributes.Nodes.Persistence.References.INodeReference>> TryLoad(TIdentifier identifier, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

identifier TIdentifier

The unique identifier of the node in the repository.

cancellationToken System.Threading.CancellationToken

A token that may be used to cancel the operation.

System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<INodeReference>>
A System.Threading.Tasks.Task<> of Result<TValue> containing a reference to the desired Node.

INodeStore<TIdentifier>.TryUpdate(TIdentifier, INode, CancellationToken) Method

Section titled “INodeStore<TIdentifier>.TryUpdate(TIdentifier, INode, CancellationToken) Method”

Attempts to modify INode in the repository identified by identifier using the data from the provided node.

System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Attributes.Nodes.Persistence.References.INodeReference>> TryUpdate(TIdentifier identifier, HAKOM.TSM.Net.Api.Attributes.Nodes.INode node, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

identifier TIdentifier

The unique identifier of the node in the repository.

node INode

The INode which will be persisted.

cancellationToken System.Threading.CancellationToken

A token that may be used to cancel the operation.

System.Threading.Tasks.Task<HAKOM.ErrorHandling.Core.Net.Api.Result<INodeReference>>
A System.Threading.Tasks.Task<> of Result<TValue> containing a reference to the persisted node.

INodeStore<TIdentifier>.Update(TIdentifier, INode, CancellationToken) Method

Section titled “INodeStore<TIdentifier>.Update(TIdentifier, INode, CancellationToken) Method”

Modifies the given INode in the repository identified by identifier using the data from the provided node.

System.Threading.Tasks.Task<HAKOM.TSM.Net.Api.Attributes.Nodes.Persistence.References.INodeReference> Update(TIdentifier identifier, HAKOM.TSM.Net.Api.Attributes.Nodes.INode node, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

identifier TIdentifier

The unique identifier of the node in the repository.

node INode

The INode which will be persisted.

cancellationToken System.Threading.CancellationToken

A token that may be used to cancel the operation.

System.Threading.Tasks.Task<INodeReference>
A System.Threading.Tasks.Task<> containing a reference to the persisted node.

© 2026 Volue.Version v0.6.38017 November 2026