public ServiceInputValidator(IUserKeyValidator userKeyValidator, IPackageIdValidator packageIdValidator, IPackageVersionValidator packageVersionValidator) { _userKeyValidator = userKeyValidator; _packageIdValidator = packageIdValidator; _packageVersionValidator = packageVersionValidator; }
public ServiceInputValidator(IUserKeyValidator userKeyValidator, IPackageIdValidator packageIdValidator, IPackageVersionValidator packageVersionValidator) { _userKeyValidator = userKeyValidator; _packageIdValidator = packageIdValidator; _packageVersionValidator = packageVersionValidator; }
/// <summary> /// Initializes a new <see cref="DeployService"/>. /// </summary> /// <param name="syncService">Service used for synchronizing package versions.</param> /// <param name="fusionService">Service used for fusing packages.</param> /// <param name="scheduleService">Service used for orchestrating fusion packages.</param> /// <param name="announcementFactory">Factory that creates <see cref="IDeployAnnouncement"/> instances.</param> /// <param name="packageVersionValidator">The validator that is used to validate announced package version(s).</param> public DeployService( ISyncService syncService, IFusionService fusionService, IScheduleService scheduleService, IDeployAnnouncementFactory announcementFactory, IPackageVersionValidator packageVersionValidator) { this.syncService = syncService; this.fusionService = fusionService; this.scheduleService = scheduleService; this.announcementFactory = announcementFactory; this.packageVersionValidator = packageVersionValidator; }
/// <summary> /// Initializes a new <see cref="FusionService"/>. /// </summary> /// <param name="logService">Service used for logging.</param> /// <param name="configStore">Store used for loading configuration.</param> /// <param name="syncService">Service used for synchronization of package versions.</param> /// <param name="fusionFactory">Factory used for creating <see cref="IFusion"/> instances.</param> /// <param name="fusionExtractor">Extractor used for extracting streams of fusions.</param> /// <param name="fusionBuilder">Builder used to build a <see cref="IFusion"/> before it's extracted.</param> /// <param name="announcementFactory">Factory used for creating instances of <see cref="IDeployAnnouncement"/>.</param> /// <param name="packageVersionValidator">Validator used for validating <see cref="PackageVersion"/> availability.</param> public FusionService( ILog logService, IConfigStore configStore, ISyncService syncService, IFusionFactory fusionFactory, IFusionExtracter fusionExtractor, IFusionBuilder fusionBuilder, IDeployAnnouncementFactory announcementFactory, IPackageVersionValidator packageVersionValidator) { this.logService = logService; this.configStore = configStore; this.syncService = syncService; this.fusionFactory = fusionFactory; this.fusionExtractor = fusionExtractor; this.fusionBuilder = fusionBuilder; this.announcementFactory = announcementFactory; this.packageVersionValidator = packageVersionValidator; }
public ParameterFormatValidator() { _packageIdValidator = new PackageIdValidator(); _packageVersionValidator = new PackageVersionValidator(); _galleryUriValidator = new GalleryUriValidator(); T = NullLocalizer.Instance; }