fix: fix converter annotation.
This commit is contained in:
parent
cbcedd6bdd
commit
95efcf063e
@ -9,7 +9,7 @@ namespace Semi.Avalonia.Converters;
|
|||||||
|
|
||||||
public class ItemToObjectConverter: IValueConverter
|
public class ItemToObjectConverter: IValueConverter
|
||||||
{
|
{
|
||||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
public object Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
if (value is AvaloniaList<object> list)
|
if (value is AvaloniaList<object> list)
|
||||||
{
|
{
|
||||||
@ -18,7 +18,7 @@ public class ItemToObjectConverter: IValueConverter
|
|||||||
return new List<object>();
|
return new List<object>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
public object ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user