public void Validate()
 {
     RetryPolicy.ArgumentNotNull("RetryPolicy");
     ArgumentGuardExtensions.ArgumentNotNegative(TimeoutMillis, "TimeoutMillis");
     ArgumentGuardExtensions.ArgumentNotNegative(ReceiveBufferSize, "ReceiveBufferSize");
     ArgumentGuardExtensions.ArgumentNotNegative(SerializationBufferSize, "SerializationBufferSize");
     ArgumentGuardExtensions.ArgumentNotNegative(Port, "Port");
 }
예제 #2
0
 public void Validate()
 {
     BaseUri.ArgumentNotNull(nameof(BaseUri));
     ArgumentGuardExtensions.ArgumentNotNegative((int)Timeout.TotalMilliseconds, nameof(Timeout));
 }