public static string Get(String key) { if (_instance == null) { _instance = new StoreResourceStrings(); } return(_manager.GetString(key, Thread.CurrentThread.CurrentUICulture) ?? string.Format("[Error : No resource for such key {0}]", key)); }
private static string GetMessageFromResource(string key) { return(StoreResourceStrings.Get(key)); }