示例#1
0
        public override bool Equals(object obj)
        {
            if (base.Equals(obj))
            {
                return(true);
            }

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

            if (obj is NavigationItemViewModel <FI, DI, FSI> )
            {
                return(EmbeddedEntryModel.Equals((obj as NavigationItemViewModel <FI, DI, FSI>).EmbeddedEntryModel));
            }
            return(false);
        }
示例#2
0
 public override string ToString()
 {
     return("IVM:" + (_embeddedEntryModel == null ? "" : EmbeddedEntryModel.ToString()));
 }
示例#3
0
 public override int GetHashCode()
 {
     return(_embeddedEntryModel == null ? 0 : EmbeddedEntryModel.GetHashCode());
 }