public ElasticSearchOutputConfiguration DeepClone() { var other = new ElasticSearchOutputConfiguration() { IndexNamePrefix = this.IndexNamePrefix, ServiceUri = this.ServiceUri, ConnectionPoolType = this.ConnectionPoolType, BasicAuthenticationUserName = this.BasicAuthenticationUserName, BasicAuthenticationUserPassword = this.BasicAuthenticationUserPassword, EventDocumentTypeName = this.EventDocumentTypeName, NumberOfShards = this.NumberOfShards, NumberOfReplicas = this.NumberOfReplicas, RefreshInterval = this.RefreshInterval, }; return(other); }
public ElasticSearchOutputConfiguration DeepClone() { var other = new ElasticSearchOutputConfiguration() { IndexNamePrefix = this.IndexNamePrefix, ServiceUri = this.ServiceUri, ConnectionPoolType = this.ConnectionPoolType, BasicAuthenticationUserName = this.BasicAuthenticationUserName, BasicAuthenticationUserPassword = this.BasicAuthenticationUserPassword, NumberOfShards = this.NumberOfShards, NumberOfReplicas = this.NumberOfReplicas, RefreshInterval = this.RefreshInterval, DefaultPipeline = this.DefaultPipeline, Mappings = this.Mappings.DeepClone(), Proxy = this.Proxy.DeepClone() }; return(other); }