public static OutputWriter Make(CompilerArguments arguments, string file, IOutputStreamFactory streamFactory) { return(new( TransformerChainFactory.Create(arguments), streamFactory.Make(file) )); }
public void TestItAddsTransformers() { List <Type> expected = new(new[] { typeof(RemoveAllComments), typeof(ReplaceTokens) } ); Assert.Equal( expected, TransformerChainFactory.Create(CompilerArgumentsFactory.Make()).GetTransformerTypes() ); }