Example #1
0
 public override void Terminate()
 {
     if (pluginHost != null)
     {
         pluginHost.PwGeneratorPool.Remove(pwGen.Uuid);
         pwGen      = null;
         pluginHost = null;
     }
 }
Example #2
0
        public override bool Initialize(IPluginHost host)
        {
            if (host == null)
            {
                return(false);
            }
            pluginHost = host;

            pwGen = new MPAGen(host);
            pluginHost.PwGeneratorPool.Add(pwGen);


            return(true);
        }