feat(commons): add DataType.List + ElementDataType companion for multi-value attributes

This commit is contained in:
Joseph Doherty
2026-06-16 15:18:12 -04:00
parent 09d7319958
commit 70fa0e7397
4 changed files with 20 additions and 1 deletions
@@ -25,6 +25,13 @@ public class TemplateAttribute
/// </summary>
public DataType DataType { get; set; }
/// <summary>
/// For <see cref="Enums.DataType.List"/> attributes: the scalar type of each
/// element (String, Int32, Float, Double, Boolean, DateTime). Null for scalar
/// attributes. The element type is fixed by the base attribute and cannot be
/// changed on a derived template or instance override.
/// </summary>
public DataType? ElementDataType { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the attribute is locked from override.
/// </summary>
public bool IsLocked { get; set; }