Exemple #1
0
        public ProjectBuilder(
            TestProjectFolders testProjectFolders,
            FeatureFileGenerator featureFileGenerator,
            BindingsGeneratorFactory bindingsGeneratorFactory,
            ConfigurationGeneratorFactory configurationGeneratorFactory,
            Configuration configuration,
            CurrentVersionDriver currentVersionDriver,
            Folders folders,
            TargetFrameworkMonikerStringBuilder targetFrameworkMonikerStringBuilder)
        {
            _testProjectFolders            = testProjectFolders;
            _featureFileGenerator          = featureFileGenerator;
            _bindingsGeneratorFactory      = bindingsGeneratorFactory;
            _configurationGeneratorFactory = configurationGeneratorFactory;
            Configuration         = configuration;
            _currentVersionDriver = currentVersionDriver;
            _folders = folders;
            _targetFrameworkMonikerStringBuilder = targetFrameworkMonikerStringBuilder;
            var projectGuidString = $"{ProjectGuid:N}".Substring(24);

            ProjectName = $"TestProj_{projectGuidString}";
        }
Exemple #2
0
 public PackagesConfigGenerator(TargetFrameworkMonikerStringBuilder targetFrameworkMonikerStringBuilder)
 {
     _targetFrameworkMonikerStringBuilder = targetFrameworkMonikerStringBuilder;
 }