using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.MachineStudio.Common
{
///
/// Represents a Machine Studio view model.
///
public interface IStudioViewModel
{
///
/// Called when the user has navigated in to the module.
///
void OnNavigatedTo();
///
/// Called when the user has navigated out of the module.
///
void OnNavigatedFrom();
///
/// Called when application is shutting down.
///
void OnShuttingDown();
///
/// Called before the application is shutting down.
/// Return false to cancel the shutdown in case an important process is in progress.
///
///
Task OnShutdownRequest();
///
/// Called when another module has wants to navigate to this module with some arguments.
///
/// The arguments.
void OnModuleRequest(params object[] args);
///
/// Called when the application has been started
///
void OnApplicationStarted();
}
}