C# Class Open.Core.Common.WeakDelegateReference

Provides a way of holding onto a delegate in a weak manner.
Mostrar archivo Open project: philcockfield/Open.TestHarness.SL

Public Methods

Method Description
IsMatch ( Delegate action ) : bool
TryGetDelegate ( ) : Delegate

Protected Methods

Method Description
WeakDelegateReference ( object actionTarget, MethodInfo actionMethod, Type actionType ) : System

Method Details

IsMatch() public method

public IsMatch ( Delegate action ) : bool
action System.Delegate
return bool

TryGetDelegate() public method

public TryGetDelegate ( ) : Delegate
return System.Delegate

WeakDelegateReference() protected method

protected WeakDelegateReference ( object actionTarget, MethodInfo actionMethod, Type actionType ) : System
actionTarget object
actionMethod System.Reflection.MethodInfo
actionType System.Type
return System