Example #1
0
 public override bool Initialize(IPluginHost host)
 {
     if (host == null) return false;
     m_host = host;
     m_gen = new CockroachGen();
     m_host.PwGeneratorPool.Add(m_gen);
     return true;
 }
Example #2
0
 public override void Terminate()
 {
     if (m_host != null)
     {
         m_host.PwGeneratorPool.Remove(m_gen.Uuid);
         m_gen = null;
         m_host = null;
     }
 }
Example #3
0
 public override void Terminate()
 {
     if (m_host != null)
     {
         m_host.PwGeneratorPool.Remove(m_gen.Uuid);
         m_gen  = null;
         m_host = null;
     }
 }
Example #4
0
 public override bool Initialize(IPluginHost host)
 {
     if (host == null)
     {
         return(false);
     }
     m_host = host;
     m_gen  = new CockroachGen();
     m_host.PwGeneratorPool.Add(m_gen);
     return(true);
 }