C# Класс Microsoft.Scripting.Actions.EventTracker.HandlerList

Holds on a list of delegates hooked to the event. We need the list because we cannot enumerate the delegates hooked to CLR event and we need to do so in handler removal (we need to do custom delegate comparison there). If BCL enables the enumeration we could remove this.
Показать файл Открыть проект

Открытые методы

Метод Описание
AddHandler ( object callableObject, Delegate handler ) : void
RemoveHandler ( object callableObject, IEqualityComparer comparer ) : Delegate

Описание методов

AddHandler() публичный абстрактный Метод

public abstract AddHandler ( object callableObject, Delegate handler ) : void
callableObject object
handler System.Delegate
Результат void

RemoveHandler() публичный абстрактный Метод

public abstract RemoveHandler ( object callableObject, IEqualityComparer comparer ) : Delegate
callableObject object
comparer IEqualityComparer
Результат System.Delegate