Skip to content

Commit c17db8c

Browse files
committed
Use using statements
1 parent 34a58bc commit c17db8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Plugins/Flow.Launcher.Plugin.Url/Converters/InverseBoolConverter.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
using System;
2+
using System.Globalization;
23
using System.Windows.Data;
34

45
namespace Flow.Launcher.Plugin.Url.Converters;
56

67
[ValueConversion(typeof(bool), typeof(bool))]
78
public class InverseBoolConverter : IValueConverter
89
{
9-
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
10+
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
1011
{
1112
if (targetType != typeof(bool))
1213
throw new InvalidOperationException("The target must be a boolean");
1314

1415
return !(bool)value;
1516
}
1617

17-
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
18+
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
1819
{
1920
throw new NotSupportedException();
2021
}

0 commit comments

Comments
 (0)