aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SharedUI/Converters/EnumToIntConverter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI/Converters/EnumToIntConverter.cs')
-rw-r--r--Software/Visual_Studio/Tango.SharedUI/Converters/EnumToIntConverter.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/Software/Visual_Studio/Tango.SharedUI/Converters/EnumToIntConverter.cs b/Software/Visual_Studio/Tango.SharedUI/Converters/EnumToIntConverter.cs
deleted file mode 100644
index 43caff16c..000000000
--- a/Software/Visual_Studio/Tango.SharedUI/Converters/EnumToIntConverter.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Globalization;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Windows.Data;
-
-namespace Tango.SharedUI.Converters
-{
- public class EnumToIntConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
- {
- return (int)value;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
- {
- return Enum.ToObject(targetType, value);
- }
- }
-}