Some Documentation Added

This commit is contained in:
Syntriax 2022-11-20 21:40:58 +03:00
parent 8a4177d065
commit 588a5fbdd2
2 changed files with 9 additions and 0 deletions

View File

@ -4,8 +4,14 @@ namespace Syntriax.Modules.Action
{ {
public interface IActionActivate public interface IActionActivate
{ {
/// <summary>
/// The <see cref="IToggleState"> the Action uses to check if it's active or not
/// </summary>
IToggleState ToggleState { get; } IToggleState ToggleState { get; }
/// <summary>
/// Triggers the Action
/// </summary>
void Activate(); void Activate();
} }
} }

View File

@ -2,6 +2,9 @@ namespace Syntriax.Modules.Action
{ {
public interface IActionDeactivate : IActionActivate public interface IActionDeactivate : IActionActivate
{ {
/// <summary>
/// Deactivates the action
/// </summary>
void Deactivate(); void Deactivate();
} }
} }