Пример #1
0
        public int CompareTo(object obj)
        {
            if (!(obj is BackgroundImage))
            {
                return(-1);
            }
            BackgroundImage other = (BackgroundImage)obj;

            return(Name.CompareTo(other.Name));
        }
Пример #2
0
 public void AddBackgroundImage(BackgroundImage backgroundImage)
 {
     _backgroundImageDictionary.Add(backgroundImage.Name, backgroundImage);
 }