Skip to content

Commit

Permalink
refactor: unsealed EventWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi authored Jan 3, 2025
1 parent 981d0e4 commit fa3b184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WeihanLi.Common/Event/EventBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public interface IEvent<out T>
T Data { get; }
}

public sealed class EventWrapper<T> : IEvent, IEvent<T>
public class EventWrapper<T> : IEvent, IEvent<T>
{
public required T Data { get; init; }
object? IEvent.Data => (object?)Data;
Expand Down

0 comments on commit fa3b184

Please sign in to comment.