1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.UI.Avalonia/Screens/MainScreenViewModel.cs
2021-10-11 22:56:42 +02:00

19 lines
496 B
C#

using ReactiveUI;
namespace Artemis.UI.Avalonia.Screens
{
public abstract class MainScreenViewModel : ActivatableViewModelBase, IRoutableViewModel
{
protected MainScreenViewModel(IScreen hostScreen, string urlPathSegment)
{
HostScreen = hostScreen;
UrlPathSegment = urlPathSegment;
}
/// <inheritdoc />
public string UrlPathSegment { get; }
/// <inheritdoc />
public IScreen HostScreen { get; }
}
}