mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-02-16 10:58:31 -05:00
Update to EF6
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Windows.Data;
|
||||
|
||||
namespace FeedCenter.Options
|
||||
namespace FeedCenter.Options
|
||||
{
|
||||
public enum MultipleLineDisplay
|
||||
{
|
||||
@@ -10,24 +6,4 @@ namespace FeedCenter.Options
|
||||
SingleLine,
|
||||
FirstLine
|
||||
}
|
||||
|
||||
public enum MultipleOpenAction
|
||||
{
|
||||
IndividualPages,
|
||||
SinglePage
|
||||
}
|
||||
|
||||
[ValueConversion(typeof(int), typeof(MultipleOpenAction))]
|
||||
public class MultipleOpenActionConverter : IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
return (MultipleOpenAction) value;
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
return (int) value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user