Exemplo n.º 1
0
 public void UnegisterForUpdates(Updateable updateable)
 {
     Updateables.Remove(updateable);
 }
Exemplo n.º 2
0
 public void RegisterForUpdates(Updateable updateable)
 {
     Debug.Assert(!Updateables.Contains(updateable), "Trying to register an updateable that is already registered for updates.");
     Updateables.Add(updateable);
 }