using PatchClient.Models;
using ReactiveUI;
namespace PatchClient.ViewModels
{
public class ViewModelBase : ReactiveObject
{
///
/// Delay the return of the viewmodel
///
/// The amount of time in milliseconds to delay
/// The viewmodel after the delay time
/// Useful to delay the navigation to another view via the . For instance, to allow an animation to complete.
public ViewModelBase WithDelay(int Milliseconds)
{
System.Threading.Thread.Sleep(Milliseconds);
return this;
}
}
}