Ejemplo n.º 1
0
 public Task(string key, IconCreatorDelegate creatorDelegate, IconCreatedCallback onCreated)
 {
     _key             = key;
     _creatorDelegate = creatorDelegate;
     _onCreated       = onCreated;
 }
Ejemplo n.º 2
0
 public void LoadIcon(string key, IconCreatorDelegate creatorDelegate, IconCreatedCallback onCreated)
 {
     this[key] = _placeHolderImage;
     _loadQueue.Produce(new Task(key, creatorDelegate, onCreated));
 }