/// <summary> /// GetString method implementation /// </summary> public virtual string GetString(ResourcesLocaleKind kind, string name) { try { ResourceManager mgr = this.ResourcesList[kind]; if (mgr == null) { return(string.Empty); } return(mgr.GetString(name, this.Culture)); } catch (Exception ex) { Log.WriteEntry(string.Format("Resource {0} not found ! \r\n {1}", kind.ToString(), ex.Message), EventLogEntryType.Error, 5000); return(string.Empty); } }