Beispiel #1
0
 static StrategyFactory()
 {
     _outputTemplateParser = new OutputTemplateCache(new OutputTemplateParser());
 }
 /// <summary>
 /// Create a new instance of <see cref="OutputTemplateCache"/>
 /// </summary>
 /// <param name="outputTemplateParser"></param>
 public OutputTemplateCache(IOutputTemplateParser outputTemplateParser)
 {
     _outputTemplateParser = outputTemplateParser ?? throw new ArgumentNullException(nameof(outputTemplateParser));
 }