public string this[string itemname] { get { int id = DefaultDiction.GetKeyByWord(itemname); if (id <= 0) { //throw new Exception(); return(null); } return(this[id]); } }
public static void BuildDefaultResource() { _instance = new DefaultDiction(typeof(DefaultDiction).Assembly); }
public static void BuildDefaultResource(LocaleType localeType) { _instance = new DefaultDiction(typeof(DefaultDiction).Assembly, localeType); }
public static void BuildDefaultResource(Assembly assembly) { _instance = new DefaultDiction(assembly); }
public static void BuildDefaultResource(Assembly assembly, LocaleType localeType) { _instance = new DefaultDiction(assembly, localeType); }
private string GetDefaultValue(int idx) { return(DefaultDiction.Item(idx)); }