Beispiel #1
0
        public static string GetIconImg(string type, string theme)
        {
            var iconImg = IconStore.GetIcon(type, theme);

            if (string.IsNullOrEmpty(iconImg))
            {
                return(null);
            }

            return(iconImg);
        }
Beispiel #2
0
        public bool IconExists(string theme = "", string type = "")
        {
            var icon = IconStore.GetIcon(type, theme);

            return(!string.IsNullOrEmpty(icon));
        }