Ejemplo n.º 1
0
        /// <summary>
        /// 返回配置类实例

        /// </summary>
        /// <returns></returns>
        public static UploadConfig LoadConfig(string PhyFilePath)
        {
            M_UploadConfig = (UploadConfig)DefaultConfigFileManager.DeserializeInfo(PhyFilePath, typeof(UploadConfig));
            return(M_UploadConfig);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 重设配置类实例

        /// </summary>
        public static UploadConfig GetConfig(string PhyFilePath)
        {
            M_UploadConfig = LoadConfig(PhyFilePath);
            return(M_UploadConfig);
        }