public static ConstantRepo getInstance() { if (instance == null) { instance = new ConstantRepo(); } return(instance); }
public void clean() { map.Clear(); instance = null; }
private static void setupValue(ValueAttribute va, object obj, FieldInfo f) { object val = ConstantRepo.getInstance().get(va.name); f.SetValue(obj, val); }