Ejemplo n.º 1
0
        public override bool Startup(IHost host)
        {
            bool result = base.Startup(host);

            try {
                if (result)
                {
                    fSearchMan = new SearchManager(this);
                }
            } catch (Exception ex) {
                Logger.LogWrite("GKTextSearchPlugin.Startup(): " + ex.Message);
                result = false;
            }
            return(result);
        }
Ejemplo n.º 2
0
        public bool Startup(IHost host)
        {
            bool result = true;

            try
            {
                fHost      = host;
                fSearchMan = new SearchManager(this);
            }
            catch (Exception ex)
            {
                Logger.LogWrite("GKTextSearchPlugin.Startup(): " + ex.Message);
                result = false;
            }
            return(result);
        }