示例#1
0
 public DeploymentManager(IPathServices pathServices, IDeploymentAgentFactory deploymentAgentFactory, IProjectTestRunnerFactory projectTestRunnerFactory, IVariableProcessorFactory variableProcessorFactory)
 {
     this.pathServices             = pathServices;
     this.deploymentAgentFactory   = deploymentAgentFactory;
     this.projectTestRunnerFactory = projectTestRunnerFactory;
     this.variableProcessorFactory = variableProcessorFactory;
 }
示例#2
0
        public XmlPersonRepository(string xmlPath, IPathServices pathServices = null)
        {
            if (string.IsNullOrWhiteSpace(xmlPath))
            {
                throw new ArgumentNullException($"{nameof(xmlPath)}");
            }

            if (pathServices != null)
            {
                xmlPath = xmlPath.Replace(PathPlaceholders.CurrentDirectory, pathServices.GetCurrentDirectory());
            }

            if (!File.Exists(xmlPath))
            {
                throw new FileNotFoundException($"XML file cannot be found at path '{xmlPath}'");
            }

            this.xmlDocument = XDocument.Load(xmlPath);
        }
示例#3
0
 public BuildManager(IBuildServiceFactory buildServiceFactory, IPathServices pathServices, ILoggingService loggingService)
 {
     this.buildServiceFactory = buildServiceFactory;
     this.pathServices        = pathServices;
     this.loggingService      = loggingService;
 }
 public StoreDataKeyValueController(IPathServices pathServices)
 {
     this.pathServices = pathServices;
 }
示例#5
0
 public BuildServiceFactory(IPathServices pathServices)
 {
     this.pathServices = pathServices;
 }
示例#6
0
 public PackageManager(IPathServices pathServices, IProjectPackagerFactory projectPackagerFactory)
 {
     this.pathServices           = pathServices;
     this.projectPackagerFactory = projectPackagerFactory;
 }
 public NpmPackageManager(IPathServices pathServices)
 {
     this.pathServices = pathServices;
 }
 public MSBuildBuildService(IPathServices pathServices)
 {
     this.nugetPackageManager = new NugetPackageManager(pathServices);
 }
 public SourceControlManager(ISourceControlRepositoryFactory sourceControlRepositoryFactory, IPathServices pathServices, IProjectParsingService projectParsingService)
 {
     this.sourceControlRepositoryFactory = sourceControlRepositoryFactory;
     this.pathServices          = pathServices;
     this.projectParsingService = projectParsingService;
 }
示例#10
0
 public XmlPersonRepository(GlobalSettings settings, IPathServices pathServices = null)
     : this(xmlPath : settings?.RepositoriesConfig?.Xml?.Path, pathServices : pathServices)
 {
 }
 public GulpBuildService(IPathServices pathServices)
 {
     this.npmPackageManager = new NpmPackageManager(pathServices);
 }
 public VisualStudioTestRunner(IVariableProcessor variableProcessor, IPathServices pathServices)
 {
     this.variableProcessor = variableProcessor;
     this.pathServices      = pathServices;
 }
 public SimpelJsonController(IPathServices pathServices)
 {
     this.pathServices = pathServices;
 }
 public ExportController(IPathServices pathServices)
 {
     this.pathServices = pathServices;
 }
示例#15
0
 public ProjectParsingService(IPathServices pathServices)
 {
     this.pathServices = pathServices;
 }
 public ProjectTestRunnerFactory(IPathServices pathServices)
 {
     this.pathServices = pathServices;
 }