22 lines
633 B
C#
22 lines
633 B
C#
using Speckle.Sdk.Models.Data;
|
|
|
|
namespace Speckle.Sdk.Models.Collections;
|
|
|
|
/// <summary>
|
|
/// Root collection that represents the top-level commit object.
|
|
/// Extends Collection to include model-wide properties that apply to the entire model.
|
|
/// </summary>
|
|
[SpeckleType("Speckle.Core.Models.Collections.RootCollection")]
|
|
public class RootCollection : Collection, IProperties
|
|
{
|
|
public RootCollection() { }
|
|
|
|
public RootCollection(string name)
|
|
: base(name) { }
|
|
|
|
/// <summary>
|
|
/// Model-wide properties that apply to the entire model.
|
|
/// </summary>
|
|
public Dictionary<string, object?> properties { get; set; } = new();
|
|
}
|