Example #1
0
        /// <summary>
        /// 卸载插件
        /// </summary>
        public bool ShutDown()
        {
            if (PluginProvider == null || State == PluginState.Unload || !PluginProvider.SupportUnload)
            {
                return(false);
            }
            else
            {
                PluginProvider.ShutDown();
                State = PluginState.Unload;

                return(true);
            }
        }