namespace TACO { using System; class ConnectorManager : PartManager { private static ConnectorManager mInstance = null; private ConnectorManager() : base(typeof(Connector)) { } public override string Name { get { return "Connectors"; } } public static ConnectorManager Instance { get { if (mInstance == null) mInstance = new ConnectorManager(); return mInstance; } } public Connector CreateConnector(string name, string id) { return CreatePart(name, id) as Connector; } } }