Exemplo n.º 1
0
        public string this[string itemname]
        {
            get
            {
                int id = DefaultDiction.GetKeyByWord(itemname);

                if (id <= 0)
                {
                    //throw new Exception();
                    return(null);
                }

                return(this[id]);
            }
        }
Exemplo n.º 2
0
 public static void BuildDefaultResource()
 {
     _instance = new DefaultDiction(typeof(DefaultDiction).Assembly);
 }
Exemplo n.º 3
0
 public static void BuildDefaultResource(LocaleType localeType)
 {
     _instance = new DefaultDiction(typeof(DefaultDiction).Assembly, localeType);
 }
Exemplo n.º 4
0
 public static void BuildDefaultResource(Assembly assembly)
 {
     _instance = new DefaultDiction(assembly);
 }
Exemplo n.º 5
0
 public static void BuildDefaultResource(Assembly assembly, LocaleType localeType)
 {
     _instance = new DefaultDiction(assembly, localeType);
 }
Exemplo n.º 6
0
 public static void BuildDefaultResource()
 {
     _instance = new DefaultDiction(typeof(DefaultDiction).Assembly);
 }
Exemplo n.º 7
0
 public static void BuildDefaultResource(LocaleType localeType)
 {
     _instance = new DefaultDiction(typeof(DefaultDiction).Assembly, localeType);
 }
Exemplo n.º 8
0
 public static void BuildDefaultResource(Assembly assembly)
 {
     _instance = new DefaultDiction(assembly);
 }
Exemplo n.º 9
0
 public static void BuildDefaultResource(Assembly assembly, LocaleType localeType)
 {
     _instance = new DefaultDiction(assembly, localeType);
 }
Exemplo n.º 10
0
 private string GetDefaultValue(int idx)
 {
     return(DefaultDiction.Item(idx));
 }