Ejemplo n.º 1
0
 public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     if (value is string str)
     {
         return(LocalizedResourceHelper.GetText(str));
     }
     return(value);
 }
Ejemplo n.º 2
0
 public string GetText(string resourceKey, params object[] objects)
 {
     return(LocalizedResourceHelper.GetText(resourceKey, objects));
 }