Пример #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);
 }
Пример #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;
 }