Beispiel #1
0
        /// <summary>
        /// 安装时候预先执行的接口。
        /// </summary>
        /// <returns>返回执行结果。</returns>
        public async Task <bool> ExecuteAsync()
        {
            var site = new TSite();

            if (await _siteManager.SaveAsync(site))
            {
                _domainManager.Refresh();
                return(true);
            }

            return(false);
        }