/// <summary> /// Creates a new copy of the current <see cref="QueueReceiverClientOptions" />, cloning its attributes into a new instance. /// </summary> /// /// <returns>A new copy of <see cref="QueueReceiverClientOptions" />.</returns> /// internal QueueReceiverClientOptions Clone() => new QueueReceiverClientOptions { _connectionOptions = ConnectionOptions.Clone(), _retryOptions = RetryOptions.Clone(), ReceiveMode = ReceiveMode };
/// <summary> /// Creates a new copy of the current <see cref="SessionReceiverClientOptions" />, cloning its attributes into a new instance. /// </summary> /// /// <returns>A new copy of <see cref="SessionReceiverClientOptions" />.</returns> /// internal SessionReceiverClientOptions Clone() => new SessionReceiverClientOptions { _connectionOptions = ConnectionOptions.Clone(), _retryOptions = RetryOptions.Clone() };
/// <summary> /// Creates a new copy of the current <see cref="SubscriptionClientOptions" />, cloning its attributes into a new instance. /// </summary> /// /// <returns>A new copy of <see cref="SubscriptionClientOptions" />.</returns> /// internal SubscriptionClientOptions Clone() => new SubscriptionClientOptions { _connectionOptions = ConnectionOptions.Clone(), _retryOptions = RetryOptions.Clone() };