예제 #1
0
 public async Task YamlReadonlyTest(string yamlConfig, Action <IFluentProjectConfiguration> action = null)
 {
     var configuration = ConfigureByYaml(yamlConfig, null, action).ProjectConfigurations.Single();
     var projectData   = AsyncCodeGenerator.CreateProjectData(ReadOnlyProject.Value, configuration);
     await AsyncCodeGenerator.GenerateProject(projectData, LoggerFactory, Logger).ConfigureAwait(false);
 }
예제 #2
0
 public async Task XmlReadonlyTest(string fileName, string xmlConfig, Action <IFluentProjectConfiguration> action = null)
 {
     var configuration = ConfigureByXml(xmlConfig, fileName, action).ProjectConfigurations.Single();
     var projectData   = AsyncCodeGenerator.CreateProjectData(ReadOnlyProjectAndSolutionLazy.Value.Project, configuration);
     await AsyncCodeGenerator.GenerateProject(projectData, LoggerFactory, Logger).ConfigureAwait(false);
 }