示例#1
0
 public SiteConfigInfo()
 {
     if (this.m_MailConfig == null)
     {
         this.m_MailConfig = new MailConfig();
     }
     if (this.m_IPLockConfig == null)
     {
         this.m_IPLockConfig = new IPLockConfig();
     }
     if (this.m_UserConfig == null)
     {
         this.m_UserConfig = new UserConfig();
     }
     if (this.m_ShopConfig == null)
     {
         this.m_ShopConfig = new ShopConfig();
     }
     if (this.m_ThumbsConfig == null)
     {
         this.m_ThumbsConfig = new ThumbsConfig();
     }
     if (this.m_WaterMarkConfig == null)
     {
         this.m_WaterMarkConfig = new WaterMarkConfig();
     }
     if (this.m_SiteOption == null)
     {
         this.m_SiteOption = new SiteOption();
     }
     if (this.m_SiteInfo == null)
     {
         this.m_SiteInfo = new SiteInfo();
     }
 }
示例#2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public SiteConfigInfo()
 {
     if (this.m_MailConfig == null)
     {
         this.m_MailConfig = new MailConfig();
     }
     if (this.m_IPLockConfig == null)
     {
         this.m_IPLockConfig = new IPLockConfig();
     }
     if (this.m_UserConfig == null)
     {
         this.m_UserConfig = new UserConfig();
     }
     if (this.m_ShopConfig == null)
     {
         this.m_ShopConfig = new ShopConfig();
     }
     if (this.m_ThumbsConfig == null)
     {
         this.m_ThumbsConfig = new ThumbsConfig();
     }
     if (this.m_WaterMarkConfig == null)
     {
         this.m_WaterMarkConfig = new WaterMarkConfig();
     }
     if (this.m_SiteOption == null)
     {
         this.m_SiteOption = new SiteOption();
     }
     if (this.m_SiteInfo == null)
     {
         this.m_SiteInfo = new SiteInfo();
     }
 }