Example #1
0
        public override bool Equals(object obj)
        {
            var cmp = obj as YouTubeVideo;

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

            return(VideoId.Equals(cmp.VideoId));
        }
Example #2
0
 public bool Equals(Suggestion other)
 {
     return(TypeId.Equals(other.TypeId) && VideoId.Equals(other.VideoId));
 }