refactor: Renamed Delegate Declarations as EventHandler

This commit is contained in:
2024-11-23 23:14:44 +03:00
parent 981db0190f
commit e725a4e89c
33 changed files with 145 additions and 145 deletions

View File

@@ -8,12 +8,12 @@ public interface IStateEnable : IAssignableEntity
/// <summary>
/// Event triggered when the <see cref="Enabled"/> state of the <see cref="IStateEnable"/> changes.
/// </summary>
event OnNameChangedDelegate? OnEnabledChanged;
event OnNameChangedEventHandler? OnEnabledChanged;
/// <summary>
/// The value indicating whether the <see cref="IStateEnable"/> is enabled.
/// </summary>
bool Enabled { get; set; }
delegate void OnNameChangedDelegate(IStateEnable sender, bool previousState);
delegate void OnNameChangedEventHandler(IStateEnable sender, bool previousState);
}