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

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

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