コード例 #1
0
 public static SparkEngine ConfigureComposer(this SparkEngine spark, Action <TemplateComposer> configure)
 {
     return(spark.ConfigureComposer(new LambdaTemplateComposerConvention(configure)));
 }
コード例 #2
0
 public static SparkEngine ConfigureComposer <TConvention>(this SparkEngine spark)
     where TConvention : ITemplateComposerConvention, new()
 {
     return(spark.ConfigureComposer(new TConvention()));
 }