Skip to content
Documentation

IAttributeFactory Interface

A factory to create attributes.

public interface IAttributeFactory

IAttributeFactory.Create(string, string, IAttributeTypeReference) Method

Section titled “IAttributeFactory.Create(string, string, IAttributeTypeReference) Method”

Creates an attribute with the given name, description and type.

HAKOM.TSM.Net.Api.Attributes.IAttribute Create(string name, string? description, HAKOM.TSM.Net.Api.Attributes.Persistence.References.IAttributeTypeReference type);

name System.String

The System.String name of the new attribute.

description System.String

The System.String description of the new attribute.

type IAttributeTypeReference

The reference referring the IAttributeType of the new attribute.

IAttribute
A new IAttribute.

IAttributeFactory.TryCreate(string, string, IAttributeTypeReference) Method

Section titled “IAttributeFactory.TryCreate(string, string, IAttributeTypeReference) Method”

Attempts to create an attribute with the given name, description and type.

HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Attributes.IAttribute> TryCreate(string name, string? description, HAKOM.TSM.Net.Api.Attributes.Persistence.References.IAttributeTypeReference type);

name System.String

The System.String name of the new attribute.

description System.String

The System.String description of the new attribute.

type IAttributeTypeReference

The reference referring the IAttributeType of the new attribute.

HAKOM.ErrorHandling.Core.Net.Api.Result<IAttribute>
A System.Threading.Tasks.Task<> of Result<TValue> containing the created IAttribute.

The Result will provide additional information about success or failure.

© 2026 Volue.Version v0.6.38017 November 2026