/// <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
 };
예제 #2
0
 /// <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()
 };
예제 #3
0
 /// <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()
 };