Esempio n. 1
0
 public ImageSource Load(string iconName)
 {
     if (string.IsNullOrEmpty(iconName))
     {
         return(null);
     }
     return(_iconResourceLoaderManager.LoadXaml(iconName) as DrawingImage);
 }
Esempio n. 2
0
//        protected abstract string GetXamlDirectory();

        public DrawingBrush Load(string name)
        {
            if (string.IsNullOrEmpty(name))
            {
                return(null);
            }
            return(_iconResourceLoaderManager.LoadXaml(name) as DrawingBrush);
        }