pr1/presence/Presence.Desktop/ViewModels/MainWindowViewModel.cs
2024-12-23 12:12:26 +03:00

23 lines
789 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using presence.data.RemoteData.RemoteDataBase;
using presence.domain.UseCase;
using ReactiveUI;
namespace Presence.Desktop.ViewModels
{
public class MainWindowViewModel : ViewModelBase, IScreen
{
public RoutingState Router { get; } = new RoutingState();
public MainWindowViewModel(IServiceProvider serviceProvider)
{
var groupUseCase = serviceProvider.GetRequiredService<GroupUseCase>();
var presenceUseCase = serviceProvider.GetRequiredService<PresenceUseCase>();
var remoteDatabaseContext = serviceProvider.GetRequiredService<RemoteDatabaseContext>();
}
}
}