Exemple #1
0
 public void On(ResourceManagerAdded e)
 {
     Managers.Add(e.ManagerId);
 }
Exemple #2
0
 /// <summary>
 /// Adds a resource manager to the model. Fires the ResourceManagerAdded event. A resource manager is any
 /// implementer of IResourceManager, including a self-managing resource.
 /// </summary>
 /// <param name="manager">The manager to be added.</param>
 public void Add(IResourceManager manager)
 {
     m_resourceMgrs.Add(manager.Guid, manager);
     ResourceManagerAdded?.Invoke(m_wrappedByWhom, manager);
 }