public static string GetIconImg(string type, string theme) { var iconImg = IconStore.GetIcon(type, theme); if (string.IsNullOrEmpty(iconImg)) { return(null); } return(iconImg); }
public bool IconExists(string theme = "", string type = "") { var icon = IconStore.GetIcon(type, theme); return(!string.IsNullOrEmpty(icon)); }