mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
19 lines
496 B
C#
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; }
|
|
}
|
|
} |