Added WinUI project.

This commit is contained in:
2025-03-22 02:40:25 -04:00
parent 9b80bf4a98
commit 107a20b713
25 changed files with 542 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
using Microsoft.UI.Xaml.Data;
using System;
using System.Collections.Generic;
namespace Harmonia.WinUI.Converters;
public partial class ArtistsToStringConverter : IValueConverter
{
public ArtistsToStringConverter()
{
}
public object Convert(object value, Type targetType, object parameter, string language)
{
if (value is not string[] artists)
return string.Empty;
return string.Join(" / ", artists);
}
public object ConvertBack(object value, Type targetType, object parameter, string language)
{
throw new NotImplementedException();
}
}