Ejemplo n.º 1
0
 /// <summary>
 /// Removes a Settings-Consumer object from the list of available consumers
 /// </summary>
 /// <param name="component">the component that is a consumer-object and does depend runtime-changable settings</param>
 public static void UnRegisterSettingsConsumer(IConfigurableComponent component)
 {
     lock (componentLock)
     {
         configComponents.Remove(component);
     }
 }
Ejemplo n.º 2
0
 public void AddComponent(IConfigurableComponent component)
 {
     _components.Add(component);
 }