public object Clone() { CacheServerConfig config = new CacheServerConfig(); config.cacheSettings = CacheSettings != null ? (CacheServerConfigSetting)CacheSettings.Clone() : null; config.cacheDeployment = CacheDeployment != null ? (CacheDeployment)CacheDeployment.Clone() : null; config.Name = Name != null ? (string)Name.Clone() : null; config.IsRegistered = this.IsRegistered; config.IsRunning = this.IsRunning; config.licenseIsExpired = this.licenseIsExpired; return(config); }
public object Clone() { CacheServerConfig config = new CacheServerConfig(); config.cacheSettings = CacheSettings != null ? (CacheServerConfigSetting)CacheSettings.Clone() : null; config.cacheDeployment = CacheDeployment != null ? (CacheDeployment)CacheDeployment.Clone() : null; config.ConfigID = ConfigID; config.configVersion = configVersion; config.IsRegistered = this.IsRegistered; config.IsRunning = this.IsRunning; config.licenseIsExpired = this.licenseIsExpired; config.name = this.name; config._alias = this._alias; return(config); }