Пример #1
0
 /// <summary>
 /// Gets the localized message identified by the specified DomMsgID.
 /// </summary>
 public static string GetString(DomMsgID id)
 {
     return DomSR.ResMngr.GetString(id.ToString());
 }
Пример #2
0
 internal static string GetString(DomMsgID id)
 {
     return((string)typeof(AppResources).GetProperties().Where(x => x.Name == id.ToString() && x.PropertyType == typeof(string)).FirstOrDefault()?.GetValue(null));
 }
Пример #3
0
 /// <summary>
 /// Gets the localized message identified by the specified DomMsgID.
 /// </summary>
 public static string GetString(DomMsgID id)
 {
     return(ResMngr.GetString(id.ToString()));
 }