first commit

This commit is contained in:
2025-07-06 00:23:46 +02:00
commit 38f50c8819
1788 changed files with 112878 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
using System.Threading.Tasks;
using Nitrox.Launcher.Models.Design;
namespace Nitrox.Launcher.ViewModels.Abstract;
public abstract class RoutableViewModelBase : ViewModelBase
{
public IRoutingScreen HostScreen { get; } = AppViewLocator.HostScreen;
/// <summary>
/// Loads content that the view should show. While the returned task is running a loading indicator will be visible.
/// </summary>
internal virtual Task ViewContentLoadAsync() => Task.CompletedTask;
internal virtual Task ViewContentUnloadAsync() => Task.CompletedTask;
}