protected DownloadTemplates ( System.Action onComplete ) : void | ||
onComplete | System.Action | Action which is invoked when the templates have completed downloading. |
Результат | void |
protected void DownloadTemplates(Action onComplete)
{
if (templateLoader == null)
{
Helper.Invoke(onComplete);
return;
}
templateLoader.LoadComplete += delegate
{
Helper.Invoke(onComplete);
templateLoader = null;
};
templateLoader.Start();
}
#endregion