public void RegisterPCZoneFactory(PCZoneFactory factory) { String name = factory.FactoryTypeName; this.pCZoneFactories.Add(name, factory); LogManager.Instance.Write("PCZone Factory Type '" + name + "' registered"); }
public void UnregisterPCZoneFactory(PCZoneFactory factory) { if (null != factory) { //find and remove factory from mPCZoneFactories // Note that this does not free the factory from memory, just removes from the factory manager string name = factory.FactoryTypeName; if (this.pCZoneFactories.ContainsKey(name)) { this.pCZoneFactories.Remove(name); LogManager.Instance.Write("PCZone Factory Type '" + name + "' unregistered"); } } }
public void UnregisterPCZoneFactory( PCZoneFactory factory ) { if ( null != factory ) { //find and remove factory from mPCZoneFactories // Note that this does not free the factory from memory, just removes from the factory manager string name = factory.FactoryTypeName; if ( pCZoneFactories.ContainsKey( name ) ) { pCZoneFactories.Remove( name ); LogManager.Instance.Write( "PCZone Factory Type '" + name + "' unregistered" ); } } }
public void RegisterPCZoneFactory( PCZoneFactory factory ) { String name = factory.FactoryTypeName; pCZoneFactories.Add( name, factory ); LogManager.Instance.Write( "PCZone Factory Type '" + name + "' registered" ); }