public static IList<string[]> Generate(GeneratorType type, IList<NodeFeature> features) { IGenerate generator; switch (type) { case GeneratorType.HeaderGenerator: generator = new HeaderGenerator(); break; case GeneratorType.CodeBehindGenerator: generator = new CodeBehindGenerator(); break; case GeneratorType.StepDefinitionGenerator: generator = new StepDefinitionGenerator(); break; default: throw new NotImplementedException(); } return generator.Generate(new MSCppUnitTestLanguageConfig(), features); }
static public IList <string[]> Generate(GeneratorType type, IList <NodeFeature> features) { IGenerate generator; switch (type) { case GeneratorType.HeaderGenerator: generator = new HeaderGenerator(); break; case GeneratorType.CodeBehindGenerator: generator = new CodeBehindGenerator(); break; case GeneratorType.StepDefinitionGenerator: generator = new StepDefinitionGenerator(); break; default: throw new NotImplementedException(); } return(generator.Generate(new MSCppUnitTestLanguageConfig(), features)); }