示例#1
0
 private void createCMSLink()
 {
     if (_cms == null)
     {
         _cms = new ExhibitDrupalDataManager();
         _cms.initializeDrupal(Properties.Settings.Default.drupalURL, Properties.Settings.Default.drupalServiceEndpoint, Properties.Settings.Default.drupalServiceUser, Properties.Settings.Default.drupalServicePassword);
     }
     else
     {
         destroyCMSLink(true);
     }
 }
示例#2
0
        private void destroyCMSLink(bool _callback)
        {
            if (_cms != null)
            {
                _cms.Close();
                _cms = null;

                if (_callback == true)
                {
                    createCMSLink();
                }
            }
        }
        private void destroyCMSLink(bool _callback)
        {
            if (_cms != null)
            {
                _cms.Close();
                _cms = null;

                if (_callback == true)
                {
                    createCMSLink();
                }
            }
        }
 private void createCMSLink()
 {
     if (_cms == null)
     {
         _cms = new ExhibitDrupalDataManager();
         _cms.initializeDrupal(Properties.Settings.Default.drupalURL, Properties.Settings.Default.drupalServiceEndpoint, Properties.Settings.Default.drupalServiceUser, Properties.Settings.Default.drupalServicePassword);
     }
     else
     {
         destroyCMSLink(true);
     }
 }