protected ConvertTemplateToCSharpTest() { var context = new ConvertTemplateToCSharpContext(); _converter = new ConvertTemplateToCSharpHandler( new TrimEndFeatureContentAndRemoveEmptyLines(), new DetectIndentAdapter( new DetectIndentHandler(new DefaultToTab(), new ParseIndentInformationFromSecondLine()), context ), new EnrichFileNameAsWrapperTestClass(context), new ConvertTemplateToCSharpCore( context, new Normalizer( new ReplaceWithUnderscore(), new RemoveSpecialCharacters(), new ReturnAsIs() ) ) ); }
public ConvertMultipleTemplatesToCSharpHandler(ConvertTemplateToCSharpHandler convertTemplateToCSharpHandler) { _convertTemplateToCSharpHandler = convertTemplateToCSharpHandler; }