using System.Collections.Generic; namespace RGB.NET.Core { /// /// /// Represents a generic . /// public abstract class AbstractLedGroup : AbstractDecoratable, ILedGroup { #region Properties & Fields /// public IBrush Brush { get; set; } /// public int ZIndex { get; set; } = 0; #endregion #region Constructors /// /// Initializes a new instance of the class. /// /// Specifies whether this should be automatically attached or not. protected AbstractLedGroup(bool autoAttach) { if (autoAttach) RGBSurface.Instance.AttachLedGroup(this); } #endregion #region Methods /// public abstract IEnumerable GetLeds(); /// public virtual void OnAttach() { } /// public virtual void OnDetach() { } #endregion } }