Akka.Cluster.Tools.Client.ClusterClientSettings.Copy C# (CSharp) Method

Copy() private method

private Copy ( IEnumerable initialContacts = null, System.TimeSpan establishingGetContactsInterval = null, System.TimeSpan refreshContactsInterval = null, System.TimeSpan heartbeatInterval = null, System.TimeSpan acceptableHeartbeatPause = null, int bufferSize = null ) : ClusterClientSettings
initialContacts IEnumerable
establishingGetContactsInterval System.TimeSpan
refreshContactsInterval System.TimeSpan
heartbeatInterval System.TimeSpan
acceptableHeartbeatPause System.TimeSpan
bufferSize int
return ClusterClientSettings
        private ClusterClientSettings Copy(
            IEnumerable<ActorPath> initialContacts = null,
            TimeSpan? establishingGetContactsInterval = null,
            TimeSpan? refreshContactsInterval = null,
            TimeSpan? heartbeatInterval = null,
            TimeSpan? acceptableHeartbeatPause = null,
            int? bufferSize = null)
        {
            return new ClusterClientSettings(
                initialContacts == null ? InitialContacts : ImmutableHashSet.CreateRange(initialContacts),
                establishingGetContactsInterval ?? EstablishingGetContactsInterval,
                refreshContactsInterval ?? RefreshContactsInterval,
                heartbeatInterval ?? HeartbeatInterval,
                acceptableHeartbeatPause ?? AcceptableHeartbeatPause,
                bufferSize ?? BufferSize);
        }
    }