Esempio n. 1
0
 /// <summary>
 /// Adds a resolver used to resolve named template content.
 /// </summary>
 /// <param name="resolverDelegate">The resolver delegate to add.</param>
 public static void AddResolver(Func <string, string> resolverDelegate)
 {
     DefaultTemplateService.AddResolver(resolverDelegate);
 }
Esempio n. 2
0
 /// <summary>
 /// Adds a resolver used to resolve named template content.
 /// </summary>
 /// <param name="resolver">The resolver to add.</param>
 public static void AddResolver(ITemplateResolver resolver)
 {
     DefaultTemplateService.AddResolver(resolver);
 }