示例#1
0
 public DefaultPluginLoader(IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory, [SuiteRoot] IFileSystemDirectory suiteRoot, [TargetRoot] IFileSystemDirectory targetRoot)
 {
     this.referenceBuilderFactory = referenceBuilderFactory;
     this.buildContextFactory = buildContextFactory;
     this.suiteRoot = suiteRoot;
     this.targetRoot = targetRoot;
 }
示例#2
0
 /// <summary>
 /// Initializes the command
 /// </summary>
 /// <param name="buildContextFactory">Interface to create new build contexts</param>
 /// <param name="slnBuilderFactory">Interface to create new SLN builders</param>
 /// <param name="targetDir">Target root directory</param>
 /// <param name="targetParser">Parser used for parsing the target parameter</param>
 public VisualStudioCommand(IBuildContextFactory buildContextFactory, ISlnBuilderFactory slnBuilderFactory, [TargetRoot] IFileSystemDirectory targetDir, ICommandTargetParser targetParser)
 {
     this.buildContextFactory = buildContextFactory;
     this.slnBuilderFactory   = slnBuilderFactory;
     this.targetDir           = targetDir;
     this.targetParser        = targetParser;
 }
示例#3
0
 public DefaultPluginLoader(IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory, [SuiteRoot] IFileSystemDirectory suiteRoot, [TargetRoot] IFileSystemDirectory targetRoot)
 {
     this.referenceBuilderFactory = referenceBuilderFactory;
     this.buildContextFactory     = buildContextFactory;
     this.suiteRoot  = suiteRoot;
     this.targetRoot = targetRoot;
 }
示例#4
0
 public OptimizingBuildContextFactory(IBuildContextFactory originalFactory, ICoreBuilderFactory coreBuilderFactory, IInSolutionReferenceBuilderFactory inSolutionReferenceBuilderFactory, IEnumerable <IProjectBuilderFactory> projectBuilders)
 {
     this.originalFactory    = originalFactory;
     this.coreBuilderFactory = coreBuilderFactory;
     this.inSolutionReferenceBuilderFactory = inSolutionReferenceBuilderFactory;
     this.projectBuilders = projectBuilders;
 }
示例#5
0
 /// <summary>
 /// Constructs the test command
 /// </summary>
 /// <param name="buildContextFactory">Factory interface to create build contexts</param>
 /// <param name="targetRoot">Target file system directory</param>
 /// <param name="projectBuilders">Available project builders</param>
 /// <param name="testRunners">Available test runners</param>
 public TestCommand(IBuildContextFactory buildContextFactory, [TargetRoot] IFileSystemDirectory targetRoot, IEnumerable <IProjectBuilderFactory> projectBuilders, IEnumerable <ITestRunner> testRunners)
 {
     this.buildContextFactory = buildContextFactory;
     this.targetRoot          = targetRoot;
     this.projectBuilders     = projectBuilders;
     this.testRunners         = testRunners;
 }
 public OptimizingBuildContextFactory(IBuildContextFactory originalFactory, ICoreBuilderFactory coreBuilderFactory, IInSolutionReferenceBuilderFactory inSolutionReferenceBuilderFactory, IEnumerable<IProjectBuilderFactory> projectBuilders)
 {
     this.originalFactory = originalFactory;
     this.coreBuilderFactory = coreBuilderFactory;
     this.inSolutionReferenceBuilderFactory = inSolutionReferenceBuilderFactory;
     this.projectBuilders = projectBuilders;
 }
示例#7
0
 /// <summary>
 /// Constructs the test command
 /// </summary>
 /// <param name="buildContextFactory">Factory interface to create build contexts</param>
 /// <param name="targetRoot">Target file system directory</param>
 /// <param name="projectBuilders">Available project builders</param>
 /// <param name="testRunners">Available test runners</param>
 public TestCommand(IBuildContextFactory buildContextFactory, [TargetRoot] IFileSystemDirectory targetRoot, IEnumerable<IProjectBuilderFactory> projectBuilders, IEnumerable<ITestRunner> testRunners)
 {
     this.buildContextFactory = buildContextFactory;
     this.targetRoot = targetRoot;
     this.projectBuilders = projectBuilders;
     this.testRunners = testRunners;
 }
示例#8
0
 /// <summary>
 /// Initializes the command
 /// </summary>
 /// <param name="buildContextFactory">Interface to create new build contexts</param>
 /// <param name="targetDir">Target root directory</param>
 /// <param name="targetParser">Parser used for parsing the target parameter</param>
 public VisualStudioCommand(IBuildContextFactory buildContextFactory, [TargetRoot] IFileSystemDirectory targetDir, ICommandTargetParser targetParser, ICoreBuilderFactory coreBuilderFactory, IEnumerable <IProjectBuilderFactory> projectBuilders)
 {
     this.buildContextFactory = buildContextFactory;
     this.targetDir           = targetDir;
     this.targetParser        = targetParser;
     this.coreBuilderFactory  = coreBuilderFactory;
     this.projectBuilders     = projectBuilders;
 }
示例#9
0
 /// <summary>
 /// Constructs the build command
 /// </summary>
 /// <param name="buildContextFactory">Interface for creating new build contexts</param>
 /// <param name="projectBuilders">The set of registered project builder factories</param>
 /// <param name="targetRoot">Build target root directory </param>
 /// <param name="targetParser">Command target parser implementation to be used</param>
 public BuildCommand(IBuildContextFactory buildContextFactory, IEnumerable<IProjectBuilderFactory> projectBuilders, [TargetRoot] IFileSystemDirectory targetRoot, ICommandTargetParser targetParser, IUserOutput output)
 {
     this.buildContextFactory = buildContextFactory;
     this.projectBuilders = projectBuilders;
     this.targetRoot = targetRoot;
     this.targetParser = targetParser;
     this.output = output;
 }
示例#10
0
 /// <summary>
 /// Initializes the command
 /// </summary>
 /// <param name="buildContextFactory">Interface to create new build contexts</param>
 /// <param name="targetDir">Target root directory</param>
 /// <param name="targetParser">Parser used for parsing the target parameter</param>
 public VisualStudioCommand(IBuildContextFactory buildContextFactory, [TargetRoot] IFileSystemDirectory targetDir, ICommandTargetParser targetParser, ICoreBuilderFactory coreBuilderFactory, IEnumerable<IProjectBuilderFactory> projectBuilders)
 {
     this.buildContextFactory = buildContextFactory;
     this.targetDir = targetDir;
     this.targetParser = targetParser;
     this.coreBuilderFactory = coreBuilderFactory;
     this.projectBuilders = projectBuilders;
 }
示例#11
0
 /// <summary>
 /// Constructs the build command
 /// </summary>
 /// <param name="buildContextFactory">Interface for creating new build contexts</param>
 /// <param name="projectBuilders">The set of registered project builder factories</param>
 /// <param name="targetRoot">Build target root directory </param>
 /// <param name="targetParser">Command target parser implementation to be used</param>
 public BuildCommand(IBuildContextFactory buildContextFactory, IEnumerable <IProjectBuilderFactory> projectBuilders, [TargetRoot] IFileSystemDirectory targetRoot, ICommandTargetParser targetParser, IUserOutput output)
 {
     this.buildContextFactory = buildContextFactory;
     this.projectBuilders     = projectBuilders;
     this.targetRoot          = targetRoot;
     this.targetParser        = targetParser;
     this.output = output;
 }
示例#12
0
 /// <summary>
 /// Constructs the test command
 /// </summary>
 /// <param name="buildContextFactory">Factory interface to create build contexts</param>
 /// <param name="targetRoot">Target file system directory</param>
 /// <param name="projectBuilders">Available project builders</param>
 /// <param name="testRunners">Available test runners</param>
 /// <param name="output">Output interface for the dependency dump functionality</param>
 /// <param name="targetParser">User-given target string parser</param>
 /// <param name="coreBuilderFactory">Factory for core builder types</param>
 public TestCommand(IBuildContextFactory buildContextFactory, [TargetRoot] IFileSystemDirectory targetRoot, IEnumerable <IProjectBuilderFactory> projectBuilders, IEnumerable <ITestRunner> testRunners, IUserOutput output, ICommandTargetParser targetParser, ICoreBuilderFactory coreBuilderFactory)
 {
     this.buildContextFactory = buildContextFactory;
     this.targetRoot          = targetRoot;
     this.projectBuilders     = projectBuilders;
     this.testRunners         = testRunners;
     this.output             = output;
     this.targetParser       = targetParser;
     this.coreBuilderFactory = coreBuilderFactory;
 }
示例#13
0
文件: TestCommand.cs 项目: vigoo/bari
 /// <summary>
 /// Constructs the test command
 /// </summary>
 /// <param name="buildContextFactory">Factory interface to create build contexts</param>
 /// <param name="targetRoot">Target file system directory</param>
 /// <param name="projectBuilders">Available project builders</param>
 /// <param name="testRunners">Available test runners</param>
 /// <param name="output">Output interface for the dependency dump functionality</param>
 /// <param name="targetParser">User-given target string parser</param>
 /// <param name="coreBuilderFactory">Factory for core builder types</param>
 public TestCommand(IBuildContextFactory buildContextFactory, [TargetRoot] IFileSystemDirectory targetRoot, IEnumerable<IProjectBuilderFactory> projectBuilders, IEnumerable<ITestRunner> testRunners, IUserOutput output, ICommandTargetParser targetParser, ICoreBuilderFactory coreBuilderFactory)
 {
     this.buildContextFactory = buildContextFactory;
     this.targetRoot = targetRoot;
     this.projectBuilders = projectBuilders;
     this.testRunners = testRunners;
     this.output = output;
     this.targetParser = targetParser;
     this.coreBuilderFactory = coreBuilderFactory;
 }
示例#14
0
 protected ScriptRunnerBase(IFileSystemDirectory targetRoot, IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory)
 {
     this.referenceBuilderFactory = referenceBuilderFactory;
     this.buildContextFactory     = buildContextFactory;
     this.targetRoot = targetRoot;
 }
示例#15
0
 public PostProcessorScriptRunner([TargetRoot] IFileSystemDirectory targetRoot, IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory) :
     base(targetRoot, referenceBuilderFactory, buildContextFactory)
 {
 }
示例#16
0
 /// <summary>
 /// Initializes the command
 /// </summary>
 /// <param name="buildContextFactory">Interface to create new build contexts</param>
 /// <param name="slnBuilderFactory">Interface to create new SLN builders</param>
 /// <param name="targetDir">Target root directory</param>
 /// <param name="targetParser">Parser used for parsing the target parameter</param>
 public VisualStudioCommand(IBuildContextFactory buildContextFactory, ISlnBuilderFactory slnBuilderFactory, [TargetRoot] IFileSystemDirectory targetDir, ICommandTargetParser targetParser)
 {
     this.buildContextFactory = buildContextFactory;
     this.slnBuilderFactory = slnBuilderFactory;
     this.targetDir = targetDir;
     this.targetParser = targetParser;
 }
示例#17
0
 public ProjectBuildScriptRunner([TargetRoot] IFileSystemDirectory targetRoot, IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory, IUserOutput output, IParameters parameters)
     : base(targetRoot, referenceBuilderFactory, buildContextFactory)
 {
     this.output = output;
     this.parameters = parameters;
 }
示例#18
0
 public ProjectBuildScriptRunner([TargetRoot] IFileSystemDirectory targetRoot, IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory)
     : base(targetRoot, referenceBuilderFactory, buildContextFactory)
 {
 }
示例#19
0
 public ProjectBuildScriptRunner([TargetRoot] IFileSystemDirectory targetRoot, IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory, IUserOutput output, IParameters parameters)
     : base(targetRoot, referenceBuilderFactory, buildContextFactory)
 {
     this.output     = output;
     this.parameters = parameters;
 }
示例#20
0
 protected ScriptRunnerBase(IFileSystemDirectory targetRoot, IReferenceBuilderFactory referenceBuilderFactory, IBuildContextFactory buildContextFactory)
 {
     this.referenceBuilderFactory = referenceBuilderFactory;
     this.buildContextFactory = buildContextFactory;
     this.targetRoot = targetRoot;
 }