public MustacheTemplateRenderer(ResourceCollection resourceProvider, string template)
 {
     if (template == null) throw new ArgumentNullException(nameof(template));
     _resourceTemplateLocator = new ResourceTemplateLocator(resourceProvider);
     _template = new Nustache.Core.Template();
     using (var reader = new StringReader(template))
         _template.Load(reader);
     Dependencies = ExtractDependentFilePaths(template);
 }
 public MustacheTemplateRenderer(ResourceCollection resourceProvider, string template)
 {
     if (template == null)
     {
         throw new ArgumentNullException(nameof(template));
     }
     _resourceTemplateLocator = new ResourceTemplateLocator(resourceProvider);
     _template = new Nustache.Core.Template();
     using (var reader = new StringReader(template))
         _template.Load(reader);
     Dependencies = ExtractDependentFilePaths(template);
 }