This repository has been archived on 2024-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
BetterRaid_OLD/Services/Implementations/MainWindowViewModelFactory.cs
2024-09-05 16:08:34 +02:00

23 lines
858 B
C#

using BetterRaid.ViewModels;
namespace BetterRaid.Services.Implementations;
public class MainWindowViewModelFactory : IMainViewModelFactory
{
private readonly ITwitchPubSubService twitchPubSubService;
private readonly ITwitchDataService twitchDataService;
private readonly ISynchronizaionService synchronizaionService;
public MainWindowViewModelFactory(ITwitchPubSubService twitchPubSubService, ITwitchDataService twitchDataService, ISynchronizaionService synchronizaionService)
{
this.twitchPubSubService = twitchPubSubService;
this.twitchDataService = twitchDataService;
this.synchronizaionService = synchronizaionService;
}
public MainWindowViewModel CreateMainWindowViewModel()
{
return new MainWindowViewModel(twitchPubSubService, twitchDataService, synchronizaionService);
}
}