Esempio n. 1
0
        /// <summary>
        /// 重置属性
        /// </summary>
        /// <param name="path"></param>
        void Reset(string path)
        {
            RefCnt     = 1;
            UsingCache = false;

            OriginPath = path;
            Path       = FileUtil.EraseExtension(path);

            Name = FileUtil.EraseExtension(FileUtil.GetFullName(path));
            Ext  = FileUtil.GetExtension(path);

            _content = null;
        }