IAssignedAttributeDataFactory Interface
HAKOM.TSM.Net.Api.TimeSeries.Persistence.Assignment
Section titled “HAKOM.TSM.Net.Api.TimeSeries.Persistence.Assignment”A factory for creating IAssignedAttributeData objects.
public interface IAssignedAttributeDataFactoryMethods
Section titled “Methods”IAssignedAttributeDataFactory.Create(IAttributeReference, IListAttributeUnitReference, IAttributeDataCollection) Method
Section titled “IAssignedAttributeDataFactory.Create(IAttributeReference, IListAttributeUnitReference, IAttributeDataCollection) Method”Creates a new IAssignedAttributeData object from the given parameters.
HAKOM.TSM.Net.Api.TimeSeries.Persistence.Assignment.IAssignedAttributeData Create(HAKOM.TSM.Net.Api.Attributes.Persistence.References.IAttributeReference attributeReference, HAKOM.TSM.Net.Api.Attributes.Lists.Persistence.References.IListAttributeUnitReference? unit, HAKOM.TSM.Net.Api.Data.Attributes.IAttributeDataCollection? data);Parameters
Section titled “Parameters”attributeReference IAttributeReference
The IAttributeReference of the new assigned attribute data object.
unit IListAttributeUnitReference
The IListAttributeUnitReference of the new assigned attribute data object.
The IAttributeDataCollection representing the values of the new assigned attribute data object.
Returns
Section titled “Returns”IAssignedAttributeData
The new IAssignedAttributeData object itself.
IAssignedAttributeDataFactory.Create(IAttributeReference, IListAttributeUnitReference, IAttributeDataCollection, IReadOnlyDictionary<string,IListAttributeValueReference>) Method
Section titled “IAssignedAttributeDataFactory.Create(IAttributeReference, IListAttributeUnitReference, IAttributeDataCollection, IReadOnlyDictionary<string,IListAttributeValueReference>) Method”Creates a new IAssignedAttributeData object from the given parameters.
HAKOM.TSM.Net.Api.TimeSeries.Persistence.Assignment.IAssignedAttributeData Create(HAKOM.TSM.Net.Api.Attributes.Persistence.References.IAttributeReference attributeReference, HAKOM.TSM.Net.Api.Attributes.Lists.Persistence.References.IListAttributeUnitReference? unit, HAKOM.TSM.Net.Api.Data.Attributes.IAttributeDataCollection? data, System.Collections.Generic.IReadOnlyDictionary<string,HAKOM.TSM.Net.Api.Attributes.Lists.Persistence.References.IListAttributeValueReference?>? usedValues);Parameters
Section titled “Parameters”attributeReference IAttributeReference
The IAttributeReference of the new assigned attribute data object.
unit IListAttributeUnitReference
The IListAttributeUnitReference of the new assigned attribute data object.
The IAttributeDataCollection representing the values of the new assigned attribute data object.
usedValues System.Collections.Generic.IReadOnlyDictionary<System.String,IListAttributeValueReference>
The list attribute values data uses, keyed by the raw value (see UsedValues), or null when they were not requested.
Returns
Section titled “Returns”IAssignedAttributeData
The new IAssignedAttributeData object itself. It is an IAssignedListAttributeData when usedValues is not null.
IAssignedAttributeDataFactory.TryCreate(IAttributeReference, IListAttributeUnitReference, IAttributeDataCollection) Method
Section titled “IAssignedAttributeDataFactory.TryCreate(IAttributeReference, IListAttributeUnitReference, IAttributeDataCollection) Method”Attempts to create a new IAssignedAttributeData object from the given parameters.
HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.TimeSeries.Persistence.Assignment.IAssignedAttributeData> TryCreate(HAKOM.TSM.Net.Api.Attributes.Persistence.References.IAttributeReference attributeReference, HAKOM.TSM.Net.Api.Attributes.Lists.Persistence.References.IListAttributeUnitReference? unit, HAKOM.TSM.Net.Api.Data.Attributes.IAttributeDataCollection? data);Parameters
Section titled “Parameters”attributeReference IAttributeReference
The IAttributeReference of the new assigned attribute data object.
unit IListAttributeUnitReference
The IListAttributeUnitReference of the new assigned attribute data object.
The IAttributeDataCollection representing the values of the new assigned attribute data object.
Returns
Section titled “Returns”HAKOM.ErrorHandling.Core.Net.Api.Result<IAssignedAttributeData>
A Result containing information about the success or failure of creating the object.
IAssignedAttributeDataFactory.TryCreate(IAttributeReference, IListAttributeUnitReference, IAttributeDataCollection, IReadOnlyDictionary<string,IListAttributeValueReference>) Method
Section titled “IAssignedAttributeDataFactory.TryCreate(IAttributeReference, IListAttributeUnitReference, IAttributeDataCollection, IReadOnlyDictionary<string,IListAttributeValueReference>) Method”Attempts to create a new IAssignedAttributeData object from the given parameters.
HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.TimeSeries.Persistence.Assignment.IAssignedAttributeData> TryCreate(HAKOM.TSM.Net.Api.Attributes.Persistence.References.IAttributeReference attributeReference, HAKOM.TSM.Net.Api.Attributes.Lists.Persistence.References.IListAttributeUnitReference? unit, HAKOM.TSM.Net.Api.Data.Attributes.IAttributeDataCollection? data, System.Collections.Generic.IReadOnlyDictionary<string,HAKOM.TSM.Net.Api.Attributes.Lists.Persistence.References.IListAttributeValueReference?>? usedValues);Parameters
Section titled “Parameters”attributeReference IAttributeReference
The IAttributeReference of the new assigned attribute data object.
unit IListAttributeUnitReference
The IListAttributeUnitReference of the new assigned attribute data object.
The IAttributeDataCollection representing the values of the new assigned attribute data object.
usedValues System.Collections.Generic.IReadOnlyDictionary<System.String,IListAttributeValueReference>
The list attribute values data uses, keyed by the raw value (see UsedValues), or null when they were not requested.
Returns
Section titled “Returns”HAKOM.ErrorHandling.Core.Net.Api.Result<IAssignedAttributeData>
A Result containing the new object. The object is an IAssignedListAttributeData when usedValues is not null.
Remarks
Section titled “Remarks”The default implementation serves factories that only implement the overload without usedValues: it delegates to that overload and drops usedValues.