コード例 #1
0
        protected void GeneratePartialGraphSolution(string[] targetProjectNames, params Proj[] projectsList)
        {
            var generator = new SlimJim.Model.SlnBuilder(new List <Proj>(projectsList));

            options.AddTargetProjectNames(targetProjectNames);
            solution = generator.BuildSln(options);
        }
コード例 #2
0
        public void BeforeEach()
        {
            repo = MockRepository.GenerateStrictMock<CsProjRepository>();
            slnWriter = MockRepository.GenerateStrictMock<SlnFileWriter>();
            slnBuilder = MockRepository.GenerateStrictMock<SlnBuilder>(new List<CsProj>());

            gen = new SlnFileGenerator()
            {
                ProjectRepository = repo,
                SlnWriter = slnWriter
            };

            SlnBuilder.OverrideDefaultBuilder(slnBuilder);
            options = new SlnGenerationOptions(ProjectsDir);
        }
コード例 #3
0
		protected void GeneratePartialGraphSolution(string[] targetProjectNames, params CsProj[] projectsList)
		{
			var generator = new SlimJim.Model.SlnBuilder(new List<CsProj>(projectsList));
			options.AddTargetProjectNames(targetProjectNames);
			solution = generator.BuildSln(options);
		}
コード例 #4
0
 public static void OverrideDefaultBuilder(SlnBuilder slnBuilder)
 {
     overriddenBuilder = slnBuilder;
 }
コード例 #5
0
ファイル: SlnBuilder.cs プロジェクト: HKochniss/SlimJim
 public static void OverrideDefaultBuilder(SlnBuilder slnBuilder)
 {
     overriddenBuilder = slnBuilder;
 }