public bool IsMatch(object otherObject, MethodInfo otherMethod)
 {
     return(WeakActionStructUtility.IsMatch(_objectRef.Target, _method,
                                            otherObject, otherMethod));
 }
 public bool Invoke(object[] args)
 {
     return(WeakActionStructUtility.Invoke(ref _objectRef, _method, args));
 }
 public bool Equals(WeakActionStruct <T1, T2> other)
 {
     return(WeakActionStructUtility.IsMatch(_objectRef.Target, _method,
                                            other._objectRef.Target, other._method));
 }
 public WeakActionStruct(Action <T1, T2> listener)
 {
     WeakActionStructUtility.Init(listener.Target, listener.GetMethodInfoEx(), out _objectRef, out _method);
 }