Skip to main content

AttributePrimitiveValueList<TValue>

Namespace: Meshmakers.Octo.Runtime.Contracts.RepositoryEntities

Implements IAttributeValueList<TValue> for primitive data types

public class AttributePrimitiveValueList<TValue> : AttributeValueList<TValue, TValue>, IAttributeValueList<TValue>, IList<TValue>, ICollection<TValue>, IEnumerable<TValue>, IEnumerable

Type Parameters

TValue

Inheritance ObjectAttributeValueList<TValue, TValue>AttributePrimitiveValueList<TValue>
Implements IAttributeValueList<TValue>, IList<TValue>, ICollection<TValue>, IEnumerable<TValue>, IEnumerable

Properties

Item

public TValue Item { get; set; }

Property Value

TValue

Count

public int Count { get; }

Property Value

Int32

IsReadOnly

public bool IsReadOnly { get; }

Property Value

Boolean

Constructors

AttributePrimitiveValueList(List<TValue>)

Constructor

public AttributePrimitiveValueList(List<TValue> list)

Parameters

list List<TValue>

AttributePrimitiveValueList()

Constructor

public AttributePrimitiveValueList()

Methods

CreateSubType(TValue)

protected TValue CreateSubType(TValue valueBase)

Parameters

valueBase TValue

Returns

TValue