25 lines
594 B
C#
25 lines
594 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using CommunityToolkit.Mvvm.Input;
|
|
using WinWARP.Core.Services.Interfaces;
|
|
|
|
namespace WinWARP.Core.ViewModels;
|
|
|
|
public partial class HomeViewModel : ObservableObject
|
|
{
|
|
private readonly INavigationService _navigationService;
|
|
|
|
public HomeViewModel(INavigationService navigationService)
|
|
{
|
|
_navigationService = navigationService;
|
|
}
|
|
|
|
[RelayCommand]
|
|
private void TestTransition()
|
|
{
|
|
_navigationService.NavigateTo<SettingsViewModel>();
|
|
}
|
|
}
|