2013-04-26

Quick test for the C# syntax formatter.

class FooToBoolConverter : IValueConverter {
    public object Convert(object value, Type targetType, object parameter, CultureInfo culture) {
        return value == parameter;
    }

    public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) {
        return (bool) value ? parameter : Foo.None;
    }
}