Ejemplo n.º 1
0
        /// <summary>写应用历史</summary>
        /// <param name="action"></param>
        /// <param name="success"></param>
        /// <param name="remark"></param>
        public void WriteHistory(String action, Boolean success, String remark)
        {
            var history = AppHistory.Create(this, action, success, remark);

            history.SaveAsync();
        }
Ejemplo n.º 2
0
        /// <summary>写应用历史</summary>
        /// <param name="action"></param>
        /// <param name="success"></param>
        /// <param name="remark"></param>
        /// <param name="ip"></param>
        public void WriteHistory(String action, Boolean success, String remark, String ip)
        {
            var history = AppHistory.Create(this, action, success, remark, Environment.MachineName, ip);

            history.SaveAsync();
        }