示例#1
0
        /// <summary>
        /// 设置默认页面处理配置
        /// </summary>
        /// <param name="requestConfig"></param>
        public virtual void SetDefault(MaPage requestConfig)
        {
            m_defaultRequestConfig = requestConfig;
            m_saveWay    = (m_saveWay == MaPageSaveWay.Null) ? requestConfig.SaveWay : m_saveWay;
            m_updateTime = (m_updateTime == 0) ? requestConfig.UpdateTime : m_updateTime;

            m_location = string.IsNullOrEmpty(m_location) ? requestConfig.m_location : m_location;
            m_header   = string.IsNullOrEmpty(m_header) ? requestConfig.m_header : m_header;
            m_param    = string.IsNullOrEmpty(m_param) ? requestConfig.m_param : m_param;
            m_custom   = string.IsNullOrEmpty(m_custom) ? requestConfig.m_custom : m_custom;
        }
示例#2
0
 /// <summary>
 /// 设置页面默认信息构造
 /// </summary>
 public MaPage()
 {
     m_saveWay    = MaPageSaveWay.Null;
     m_updateTime = 0;
     m_parseList  = new List <IMaParser>();
 }