Esempio n. 1
0
 public void CreatePort(string key)
 {
     lock (_Ports.SyncRoot)
     {
         if (!_Ports.Contains (key))
         {
             IQPort port = new QPort (_Name, key, _Qhsm);
             _Ports.Add (key, port);
             DoPortCreated (key, port);
         }
     }
 }
Esempio n. 2
0
 protected virtual IQPort CreatePort(string name)
 {
     IQPort port = new QPort (name, this);
     return port;
 }