Exemplo n.º 1
0
        /// <summary>
        /// 保存一个项目
        /// </summary>
        /// <param name="filePath">文件路径</param>
        /// <returns>操作成功与否</returns>
        public bool save(string filePath)
        {
            bool sflag = true;

            try
            {
                this.serialization(CodeManager.getInstance(), filePath);
            }
            catch
            {
                sflag = false;
            }
            return(sflag);
        }
Exemplo n.º 2
0
 /// <summary>
 /// 刷新引用
 /// </summary>
 public void refreshRef()
 {
     this.symbolMana = SymbolManager.getInstance();
     this.codeMana   = CodeManager.getInstance();
 }