Esempio n. 1
0
        public override bool Equals(object obj)
        {
            var other = obj as TaskListCellModel;

            if (other == null)
            {
                return(false);
            }

            return(DocumentID.Equals(other.DocumentID) && Name.Equals(other.Name) && IncompleteCount == other.IncompleteCount);
        }
Esempio n. 2
0
        public override bool Equals(object obj)
        {
            var other = obj as TaskCellModel;

            if (other == null)
            {
                return(false);
            }

            return(DocumentID.Equals(other.DocumentID) && Name.Equals(other.Name) && IsChecked == other.IsChecked &&
                   String.Equals(_imageDigest, other._imageDigest));
        }