Example #1
0
 public ITemplate Handle(String entry, IResourceLocator locator, bool throwException)
 {
     if (throwException || locator.Exists(entry))
     {
         return(new FileTemplate(locator, this, locator.PreFixed(entry)));
     }
     return(null);
 }
Example #2
0
 public ITemplate Handle(String entry, IResourceLocator locator, bool throwException)
 {
     if (throwException || locator.Exists(entry))
     {
     return new FileTemplate(locator, this, locator.PreFixed(entry));
     }
     return null;
 }