using System; namespace DesktopMagicPluginAPI.Inputs { /// /// The element base class. /// public abstract class Element { /// /// Occurs when the value has been changed. /// public event Action OnValueChanged; /// /// Triggers the event. /// protected void ValueChanged() { OnValueChanged?.Invoke(); } } }