コード例 #1
0
 /// <summary>
 /// Localizes the string in current language.
 /// </summary>
 /// <param name="culture">culture</param>
 /// <returns>Localized string</returns>
 public virtual string Localize(CultureInfo culture)
 {
     return(LocalizationHelper.GetString(SourceName, Name, culture));
 }
コード例 #2
0
 /// <summary>
 /// Localizes the string in current language.
 /// </summary>
 /// <returns>Localized string</returns>
 public virtual string Localize()
 {
     return(LocalizationHelper.GetString(SourceName, Name));
 }