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