Skip to content
Documentation

IUnitReferenceFactory Interface

A factory for creating IUnitReference.

public interface IUnitReferenceFactory

IUnitReferenceFactory.Configure(IUnitStore) Method

Section titled “IUnitReferenceFactory.Configure(IUnitStore) Method”

Configures the IUnitReferenceFactory for usage.

void Configure(HAKOM.TSM.Net.Api.Units.Persistence.IUnitStore unitStore);

unitStore IUnitStore

The IUnitStore for loading the references.

IUnitReferenceFactory.Create(string) Method

Section titled “IUnitReferenceFactory.Create(string) Method”

Creates a IUnitReference with the specified identifier.

HAKOM.TSM.Net.Api.Units.Persistence.References.IUnitReference Create(string identifier);

identifier System.String

The identifier for the unit reference.

IUnitReference
The created IUnitReference.

IUnitReferenceFactory.Create(string, IUnit) Method

Section titled “IUnitReferenceFactory.Create(string, IUnit) Method”

Creates a IUnitReference with the specified identifier.

HAKOM.TSM.Net.Api.Units.Persistence.References.IUnitReference Create(string identifier, HAKOM.TSM.Net.Api.Units.IUnit unit);

identifier System.String

The identifier for the IUnitReference.

unit IUnit

The IUnit to be associated with the reference.

IUnitReference
The created IUnitReference.

IUnitReferenceFactory.TryCreate(string) Method

Section titled “IUnitReferenceFactory.TryCreate(string) Method”

Tries to create a IUnitReference with the specified identifier.

HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Units.Persistence.References.IUnitReference> TryCreate(string identifier);

identifier System.String

The identifier for the IUnitReference.

HAKOM.ErrorHandling.Core.Net.Api.Result<IUnitReference>
A Result<TValue> of the created IUnitReference.

The Result will provide additional information about success or failure.

IUnitReferenceFactory.TryCreate(string, IUnit) Method

Section titled “IUnitReferenceFactory.TryCreate(string, IUnit) Method”

Tries to create a IUnitReference with the specified identifier.

HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Units.Persistence.References.IUnitReference> TryCreate(string identifier, HAKOM.TSM.Net.Api.Units.IUnit unit);

identifier System.String

The identifier for the IUnitReference.

unit IUnit

The IUnit to be associated with the reference.

HAKOM.ErrorHandling.Core.Net.Api.Result<IUnitReference>
A Result<TValue> of the created IUnitReference.

The Result will provide additional information about success or failure.

© 2026 Volue.Version v0.6.38017 November 2026