示例#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()));
 }