public AddonService( IServiceProvider serviceProvider, IAddonRepository addonRepository, IAnalyticsService analyticsService, IDownloadService downloadSevice, IWarcraftService warcraftService, IWowUpService wowUpService) { _addonRepository = addonRepository; _analyticsService = analyticsService; _downloadService = downloadSevice; _warcraftService = warcraftService; _wowUpService = wowUpService; _providers = new List <IAddonProvider> { serviceProvider.GetService <ICurseAddonProvider>(), serviceProvider.GetService <ITukUiAddonProvider>(), serviceProvider.GetService <IWowInterfaceAddonProvider>(), serviceProvider.GetService <IGitHubAddonProvider>() }; InitializeDirectories(); }
public AddonService( IServiceProvider serviceProvider, IAddonRepository addonRepository, IDownloadSevice downloadSevice, IWarcraftService warcraftService) { _addonRepository = addonRepository; _downloadService = downloadSevice; _warcraftService = warcraftService; _providers = new List <IAddonProvider> { serviceProvider.GetService <CurseAddonProvider>(), serviceProvider.GetService <TukUiAddonProvider>() }; InitializeDirectories(); }
public AddonController(IAddonRepository addonRepository) { this.objcontext = addonRepository; }
public MigrationService( IAddonRepository addonRepository, IPreferenceRepository preferenceRepository) { }