示例#1
0
 protected void Init(string basedir, IEnumerable <T> keys)
 {
     icons = keys.ToDictionary(e => e, e => IconSet.GetIcon(basedir + "." + e.ToString()));
 }
示例#2
0
 public static void CreateSingleton()
 {
     instance = new IconSet();
 }