Esempio n. 1
0
 public DisunityVersionSeed(ApplicationDbContext context, IHostingEnvironment env,
                            IVersionNumberFactory versionNumberFactory)
 {
     _context = context;
     _env     = env;
     _versionNumberFactory = versionNumberFactory;
 }
Esempio n. 2
0
 public TargetSeed(ApplicationDbContext context, IHostingEnvironment env,
                   IVersionNumberFactory versionNumberFactory,
                   ISlugifier slugifier,
                   Func <string, Unparser> unparserFactory,
                   IconRandomizer iconRandomizer)
 {
     _context = context;
     _env     = env;
     _versionNumberFactory = versionNumberFactory;
     _slugifier            = slugifier;
     _iconRandomizer       = iconRandomizer;
     _unparser             = unparserFactory("Entities/target.json");
 }
Esempio n. 3
0
 public SelfUpdate(
     IFileDownloaderFactory fileDownloadFactory,
     IVersionNumberFactory vnpFactory,
     IUIAskDownload uiAskDownload,
     IUIAskInstall uiAskInstall,
     IUIDownloadProgress uiDownloadProgress
     )
 {
     FileDownloaderFactory = fileDownloadFactory;
     VNPFactory            = vnpFactory;
     UIAskDownload         = uiAskDownload;
     UIAskInstall          = uiAskInstall;
     UIDownloadProgress    = uiDownloadProgress;
 }
Esempio n. 4
0
 public ModVersionFactory(ApplicationDbContext context, IVersionNumberFactory versionNumberFactory)
 {
     _context = context;
     _versionNumberFactory = versionNumberFactory;
 }