Files
VDownload/VDownload.GUI/VDownload.GUI.Converters/EnumToIntConverter.cs

23 lines
572 B
C#
Raw Normal View History

2024-02-13 02:59:40 +01:00
using Microsoft.UI.Xaml.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.GUI.Converters
{
public class EnumToIntConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
return (int)value;
}
public object ConvertBack(object value, Type targetType, object parameter, string language)
{
throw new NotImplementedException();
}
}
}