public override bool Equals(object obj) { UniversalEventHandle other = obj as UniversalEventHandle; return(other != null && (object.ReferenceEquals(this, obj) || (object.Equals(this.Source, other.Source) && object.Equals(this.EventInfo, other.EventInfo) && object.Equals(this.PropertyChangedHandle, other.PropertyChangedHandle) && object.Equals(this.Callback, other.Callback)))); }
public UniversalEventCallbackArgs(UniversalEventHandle handle, object[] args) { if (handle == null) { throw new ArgumentNullException("handle"); } if (args == null) { throw new ArgumentNullException("args"); } this.Handle = handle; this.EventArgs = args; }
public UniversalEventCallbackArgs(UniversalEventHandle handle, PropertyChangedCallbackArgs args) { if (handle == null) { throw new ArgumentNullException("handle"); } if (args == null) { throw new ArgumentNullException("args"); } this.Handle = handle; this.PropertyChangedCallbackArgs = args; }