Exemple #1
0
 public ITexture GetTexture()
 {
     if (!TextureHelper.Exists(Name.ToLowerInvariant()))
     {
         TextureProvider.LoadTextureItem(this);
     }
     return(TextureHelper.Get(Name.ToLowerInvariant()));
 }
Exemple #2
0
 public ITexture GetTexture(ISynchronizeInvoke invokable)
 {
     if (!TextureHelper.Exists(Name.ToLowerInvariant()))
     {
         TextureProvider.LoadTextureItem(this);
     }
     return(TextureHelper.Get(Name.ToLowerInvariant()));
 }