public void CopyFrom(HelpSettings source) { this.Help1.CopyFrom(source.Help1); this.Help2.CopyFrom(source.Help2); this.CustomOnline.CopyFrom(source.CustomOnline); this.ProviderType = source.ProviderType; }
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); }
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); }