protected AddRequiredTemplate ( string selector, string url ) : void | ||
selector | string | The CSS selector for the template. |
url | string | The URL to download the template(s) from. |
Résultat | void |
protected void AddRequiredTemplate(string selector, string url)
{
if (Helper.Template.IsAvailable(selector)) return;
if (templateLoader == null) templateLoader = new TemplateLoader();
templateLoader.AddUrl(url);
}