Name | Description | |
---|---|---|
NWeakEventHandler Constructor | Creates a new weak reference event handler that contains the specified handler |
The following tables list the members exposed by NWeakEventHandler.
Name | Description | |
---|---|---|
NWeakEventHandler Constructor | Creates a new weak reference event handler that contains the specified handler |
Name | Description | |
---|---|---|
Equals | Determines whether the specified objects are equal. | |
FromDelegate<TArgs> | Creates a new weak event handler that calls the specified delegate. Throw an exception if the delegate is null or is not an instance of the Function(TArgs) delegate. | |
FromEventHandler<TArgs> | Creates a weak ref event handler that aggregates the specified event handler. | |
FromFunction<TArgs> | Creates a new weak event handler that calls the specified function. Throw an exception if the function is null. | |
GetHashCode | Overriden to retrun the hash code of the weak ref. | |
Invoke | Invokes the handler. Returns true if the inner handler Invoke returned true. If the inner handler is no longer alive (is GC collected), this method returns false. |