Exemple #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);
 }
 public ITemplate Handle(string entry, IResourceLocator locator, bool throwException)
 {
     if (throwException || locator.Exists(entry))
         {
             return new RefreshableResourceTemplate(locator, this, entry);
         }
         return null;
 }
Exemple #3
0
 public ITemplate Handle(string entry, IResourceLocator locator, bool throwException)
 {
     if (throwException || locator.Exists(entry))
     {
         return(new RefreshableResourceTemplate(locator, this, entry));
     }
     return(null);
 }
 public ITemplate Handle(String entry, IResourceLocator locator, bool throwException)
 {
     if (throwException || locator.Exists(entry))
     {
     return new FileTemplate(locator, this, locator.PreFixed(entry));
     }
     return null;
 }