using Microsoft.Extensions.DependencyInjection;

namespace Harmonia.WinUI.ViewModels;

public class ViewModelLocator
{
    //public static MainViewModel MainViewModel
    //    => App.ServiceProvider.GetRequiredService<MainViewModel>();

    public static PlayerViewModel PlayerViewModel
        => App.ServiceProvider.GetRequiredService<PlayerViewModel>();

    public static PlayingSongViewModel PlayingSongViewModel
        => App.ServiceProvider.GetRequiredService<PlayingSongViewModel>();

    public static PlaylistViewModel PlaylistViewModel
        => App.ServiceProvider.GetRequiredService<PlaylistViewModel>();
}