using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static Tango.SharedUI.Controls.NavigationControl; namespace Tango.MachineStudio.Common { /// /// Represents a Machine Studio view model. /// public interface IStudioViewModel : INavigationViewModel { /// /// 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 the application has been started /// void OnApplicationStarted(); /// /// Called when the application is ready and all modules are loaded. /// void OnApplicationReady(); } }