public static SparkEngine ConfigureComposer(this SparkEngine spark, Action <TemplateComposer> configure) { return(spark.ConfigureComposer(new LambdaTemplateComposerConvention(configure))); }
public static SparkEngine ConfigureComposer <TConvention>(this SparkEngine spark) where TConvention : ITemplateComposerConvention, new() { return(spark.ConfigureComposer(new TConvention())); }