perf: regular events to custom events
This commit is contained in:
@@ -9,7 +9,7 @@ public interface IEntity : IInitializable, IHasStateEnable
|
||||
/// Event triggered when the <see cref="Id"/> of the <see cref="IEntity"/> changes.
|
||||
/// The string action parameter is the previous <see cref="Id"/> of the <see cref="IEntity"/>.
|
||||
/// </summary>
|
||||
event IdChangedEventHandler? OnIdChanged;
|
||||
Event<IEntity, string> OnIdChanged { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The ID of the <see cref="IEntity"/>.
|
||||
|
||||
Reference in New Issue
Block a user