コード例 #1
0
        /// <summary>
        /// 获取读状态的持久化句柄
        /// </summary>
        /// <returns></returns>
        public static PersistenceHandle GetReadStatusHandle()
        {
            PersistenceHandle h = new PersistenceHandle();

            h.Load();
            return(h);
        }
コード例 #2
0
        /// <summary>
        /// 获取创建状态的持久化句柄
        /// </summary>
        /// <returns></returns>
        public static PersistenceHandle GetNewStatusHandle()
        {
            PersistenceHandle h = new PersistenceHandle();

            h.New();
            return(h);
        }