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