- Rename src to _src

This commit is contained in:
Stone_Red
2021-12-23 11:11:06 +01:00
parent ed84fe37ed
commit 441a8b00cc
171 changed files with 26339 additions and 0 deletions
@@ -0,0 +1,23 @@
using System;
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();
}
}
}