using System;
using System.Globalization;
using System.Windows.Data;
namespace Chernobyl.App.Core
{
///
/// Converts any object to it string form using the object's .
///
///
///
///
///
/// ]]>
public class ToStringConverter : IValueConverter
{
///
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return value?.ToString() ?? string.Empty;
}
///
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}