public static string GetString(string name) { JsonLeeCMS.Control.SR loader = GetLoader(); string str = null; if (loader != null) { str = loader.Resources.GetString(name, null); } return(str); }
private static JsonLeeCMS.Control.SR GetLoader() { if (_loader == null) { lock (_lock) { if (_loader == null) { _loader = new JsonLeeCMS.Control.SR(); } } } return(_loader); }