Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Creates a new instance of <c>NotesBrowser</c>.
        /// </summary>
        public NotesBrowser(NotesBrowserModel model)
        {
            InitializeComponent();

            Model = model;
        }
Ejemplo n.º 3
0
 /// <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;
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Creates a new instance of <c>NotesBrowser</c>.
        /// </summary>
        public NotesBrowser(NotesBrowserModel model) {
            InitializeComponent();

            Model = model;
        }
Ejemplo n.º 5
0
 /// <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);
 }