Ejemplo n.º 1
0
 public VersionMediatorServiceTestClass(
     IVersionFactory versionFactory,
     IReleaseVersionInformationService versionInformationService,
     IVersionService versionService,
     IDesktopServiceSettings desktopServiceSettings,
     ILogger logger = null)
     : base(versionFactory, versionInformationService, versionService, desktopServiceSettings, logger)
 {
 }
 private VersionMediatorServiceTestClass GetVersionMediatorService(
     IVersionFactory versionFactory = null,
     IReleaseVersionInformationService versionInformationService = null,
     IVersionService versionService = null,
     IDesktopServiceSettings desktopServiceSettings = null)
 {
     return(new VersionMediatorServiceTestClass(
                versionFactory ?? Mock.Of <IVersionFactory>(),
                versionInformationService ?? Mock.Of <IReleaseVersionInformationService>(),
                versionService ?? Mock.Of <IVersionService>(),
                desktopServiceSettings ?? Mock.Of <IDesktopServiceSettings>()));
 }
 public VersionMediatorService(
     IVersionFactory versionFactory,
     IReleaseVersionInformationService releaseVersionInformationService,
     IVersionService versionService,
     IDesktopServiceSettings desktopServiceSettings,
     ILogger logger)
 {
     _versionFactory = versionFactory;
     _releaseVersionInformationService = releaseVersionInformationService;
     _versionService         = versionService;
     _desktopServiceSettings = desktopServiceSettings;
     _logger = logger;
 }
 public AdminPatcherUpdateContext(IAdminSettings settings, IProgress <BuilderProgress> progress)
 {
     Settings          = settings;
     _progressReporter = progress;
     VersionFactory    = new VersionFactory();
 }