mirror of
https://github.com/holgerb83/ModernWpfPlayground.git
synced 2025-06-30 17:50:51 +02: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