public sealed class LocalEventSubscriber<TEventArgs> : ISharedEventSubscriber<TEventArgs>,
IAsyncDisposable
where TEventArgs : class, new(), ISharedEventArgs
Public NotInheritable Class LocalEventSubscriber(Of TEventArgs As {Class, New, ISharedEventArgs})
Implements ISharedEventSubscriber(Of TEventArgs), IAsyncDisposablegeneric<typename TEventArgs>
where TEventArgs : ref class, gcnew(), ISharedEventArgs
public ref class LocalEventSubscriber sealed : ISharedEventSubscriber<TEventArgs>,
IAsyncDisposable[<SealedAttribute>]
type LocalEventSubscriber<'TEventArgs when 'TEventArgs : not struct, new() and ISharedEventArgs> =
class
interface ISharedEventSubscriber<'TEventArgs>
interface IAsyncDisposable
end| LocalEventSubscriberTEventArgs | Инициализирует новый экземпляр класса LocalEventSubscriberTEventArgs |
| IsSubscribed | Признак того, что в данный момент объект подписан на событие и получает уведомления. |
| DisposeAsync | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously. |
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
| GetHashCode | Serves as the default hash function. (Унаследован от Object) |
| GetType | Gets the Type of the current instance. (Унаследован от Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| NotifyAsync | Уведомляет все подписанные процессы о событии с заданными аргументами. |
| SubscribeAsync | Выполняет подписку на уведомления, поступающие для события, если подписка ещё не была выполнена. |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |
| UnsubscribeAsync | Выполняет отписку от уведомлений, поступающих для события, если подписка уже была выполнена. |