U:调整所有代码格式
This commit is contained in:
1 parent
d133bacf55
commit
155b67e831
342 files changed
+9431
-9868
No files matched your search
@@ -12,7 +12,8 @@ internal sealed class EventSubscription : IDisposable
|
||||
private readonly Action<EventSubscription> _onDispose;
|
||||
private bool _disposed;
|
||||
|
||||
public EventSubscription(Type eventType, Func<object, Task> handler, Func<object, bool>? filter, int priority, Action<EventSubscription> onDispose)
|
||||
public EventSubscription(Type eventType, Func<object, Task> handler, Func<object, bool>? filter, int priority,
|
||||
Action<EventSubscription> onDispose)
|
||||
{
|
||||
EventType = eventType;
|
||||
Handler = handler;
|
||||
@@ -33,4 +34,4 @@ internal sealed class EventSubscription : IDisposable
|
||||
_disposed = true;
|
||||
_onDispose(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user