Added documentation to the DesktopMagicPluginAPI

This commit is contained in:
Stone-Red-Code
2021-08-14 21:19:03 +02:00
parent 883cc3a2fb
commit f05b5783ba
108 changed files with 1107 additions and 103 deletions
@@ -2,10 +2,19 @@
namespace DesktopMagicPluginAPI.Inputs
{
/// <summary>
/// The element base class
/// </summary>
public abstract class Element
{
/// <summary>
/// Occurs when the value has been changed
/// </summary>
public event Action OnValueChanged;
/// <summary>
/// Triggers the <see cref="OnValueChanged"/> event
/// </summary>
protected void ValueChanged()
{
OnValueChanged?.Invoke();