Beispiel #1
0
 public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
 {
     if (value is string item)
     {
         return((long)Math.Min(Math.Max(NetworkConverter.SizeStringToDecimal(item), long.MinValue), long.MaxValue));
     }
     return((long)0);
 }