Exemple #1
0
 public void CopyFrom(HelpSettings source)
 {
     this.Help1.CopyFrom(source.Help1);
     this.Help2.CopyFrom(source.Help2);
     this.CustomOnline.CopyFrom(source.CustomOnline);
     this.ProviderType = source.ProviderType;
 }
Exemple #2
0
        public HelpSettings CreateCopy()
        {
            HelpSettings result = new HelpSettings();

            result.Help1.CopyFrom(this.Help1);
            result.Help2.CopyFrom(this.Help2);
            result.CustomOnline.CopyFrom(this.CustomOnline);
            result.ProviderType = this.ProviderType;

            return(result);
        }
Exemple #3
0
        public bool LoadContent(ConfigurationContent configContent)
        {
            if (configContent == null)
            {
                throw new NullParameterException("Configuration content param is null!");
            }

            if (configContent.SharedScriptsOptions == null)
            {
                throw new NullPropertyException("Configuration content does not contain SharedScriptsOptions item!");
            }

            _configContent = configContent;
            _helpSettings  = _configContent.HelpSettings;


            LoadInitial();

            _isContentLoaded = true;
            return(true);
        }