mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
22 lines
585 B
C#
22 lines
585 B
C#
using Artemis.UI.Shared;
|
|
using ReactiveUI;
|
|
|
|
namespace Artemis.UI.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; }
|
|
|
|
public ViewModelBase? TitleBarViewModel { get; protected set; }
|
|
}
|
|
} |