A little less code
This commit is contained in:
@@ -29,7 +29,7 @@ namespace WpfViewModelFirst
|
||||
{
|
||||
var currentDispatcher = Dispatcher.CurrentDispatcher;
|
||||
CurrentViewModel = null;
|
||||
Task delay = Task<string>.Run(LongDelay).ContinueWith(c =>
|
||||
LongDelay().ContinueWith(c =>
|
||||
{
|
||||
System.Diagnostics.Debug.WriteLine(c.Result);
|
||||
CurrentViewModel = new Part2ViewModel();
|
||||
|
||||
Reference in New Issue
Block a user