Fix NotifyList.ToString()

This commit is contained in:
Yoshi Askharoun
2023-05-26 13:56:17 -05:00
parent 2a8f203df5
commit caed31afb9
+2 -1
View File
@@ -9,6 +9,7 @@ using Microsoft.Iris.Library;
using Microsoft.Iris.Markup;
using System;
using System.Collections;
using System.Linq;
namespace Microsoft.Iris.ModelItems
{
@@ -108,6 +109,6 @@ namespace Microsoft.Iris.ModelItems
ContentsChanged(this, new UIListContentsChangedArgs(type, oldIndex, newIndex));
}
public override string ToString() => $"{{NotifyList Source=[{string.Join(", ", _source)}]}}";
public override string ToString() => $"{{NotifyList Source=[{string.Join(", ", _source.Cast<object>().ToArray())}]}}";
}
}