public object DeepClone(object param) { Config4Impl ret = new Config4Impl(); Config4Impl.ConfigDeepCloneContext context = new Config4Impl.ConfigDeepCloneContext (this, ret); ret._config = (KeySpecHashtable4)_config.DeepClone(context); ret._internStrings = _internStrings; ret._messageLevel = _messageLevel; ret._readOnly = _readOnly; if (_registeredTypeHandlers != null) { ret._registeredTypeHandlers = (Collection4)_registeredTypeHandlers.DeepClone(context ); } return(ret); }
protected Config4Abstract(KeySpecHashtable4 config) { _config = (KeySpecHashtable4)config.DeepClone(this); }