Пример #1
0
 /// <summary>
 /// Deletes a component registration.
 /// </summary>
 /// <param name="uniqueName">Unique component name</param>
 public void UnregisterComponent(string uniqueName)
 {
     if (ComponentRegistry.ContainsKey(uniqueName))
     {
         ComponentRegistry.Remove(uniqueName);
     }
 }
Пример #2
0
 /// <summary>
 /// Deletes a component registration.
 /// </summary>
 /// <param name="uniqueName">Unique component name</param>
 public void UnregisterComponent(string uniqueName)
 {
     ComponentRegistry.Remove(uniqueName);
 }