16 lines
357 B
C#
16 lines
357 B
C#
using System;
|
|
|
|
namespace Syntriax.Modules.ToggleState
|
|
{
|
|
public interface IToggleState
|
|
{
|
|
/// <summary>
|
|
/// Called everytime the IsToggled field is changed
|
|
/// </summary>
|
|
/// <value>The new value of IsToggled</value>
|
|
Action<bool> OnToggleStateChanged { get; set; }
|
|
|
|
bool IsToggled { get; set; }
|
|
}
|
|
}
|