mirror of
https://github.com/holgerb83/ModernWpfPlayground.git
synced 2025-12-14 16:16:24 +01:00
Playing with Prisms TaskExtension
This commit is contained in:
@@ -39,7 +39,7 @@ namespace ModernWpfPlayground.MvvmStuff
|
||||
|
||||
protected void ResetViewModel(Func<string, bool>? predicate = null)
|
||||
{
|
||||
IEnumerable<string> keys = _values.Keys;
|
||||
IEnumerable<string> keys = _values.Keys.ToArray();
|
||||
if (predicate != null) keys = keys.Where(predicate);
|
||||
foreach (var key in keys)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user