/// <summary> /// Returns true if this object is equal to <c>obj</c>. /// </summary> /// <param name="obj">Object you wish to compare to.</param> /// <returns>true if this object is equal to <c>obj</c>.</returns> public override bool Equals(object obj) { if (obj != null && obj.GetType().Equals(this.GetType())) { NotesBrowserModel other = obj as NotesBrowserModel; if ((object)other != null) { return(Equals(other)); } } return(false); }
/// <summary> /// Creates a new instance of <c>NotesBrowser</c>. /// </summary> public NotesBrowser(NotesBrowserModel model) { InitializeComponent(); Model = model; }
/// <summary> /// Returns true if this object is equal to <c>obj</c>. /// </summary> /// <remarks> /// This is an overloaded Equals implementation taking a /// NotesBrowserModel object to improve performance as a cast is not /// required. /// </remarks> /// <param name="other"> /// NotesBrowserModel object to compare against. /// </param> public bool Equals(NotesBrowserModel other) { return true; }
/// <summary> /// Returns true if this object is equal to <c>obj</c>. /// </summary> /// <remarks> /// This is an overloaded Equals implementation taking a /// NotesBrowserModel object to improve performance as a cast is not /// required. /// </remarks> /// <param name="other"> /// NotesBrowserModel object to compare against. /// </param> public bool Equals(NotesBrowserModel other) { return(true); }