21 references to ToMilliseconds
dotnet-svcutil-lib (21)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (4)
214
this.ReadTimeout = TimeoutHelper.
ToMilliseconds
(defaultTimeouts.ReceiveTimeout);
215
this.WriteTimeout = TimeoutHelper.
ToMilliseconds
(defaultTimeouts.SendTimeout);
636
int timeoutInMilliseconds = TimeoutHelper.
ToMilliseconds
(timeout);
646
int timeoutInMilliseconds = TimeoutHelper.
ToMilliseconds
(timeout);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (2)
814
_socket.ReceiveTimeout = TimeoutHelper.
ToMilliseconds
(timeout);
851
_socket.SendTimeout = TimeoutHelper.
ToMilliseconds
(timeout);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SynchronizedMessageSource.cs (4)
31
if (!await _sourceLock.WaitAsync(TimeoutHelper.
ToMilliseconds
(timeout)))
55
if (!_sourceLock.Wait(TimeoutHelper.
ToMilliseconds
(timeout)))
80
if (!await _sourceLock.WaitAsync(TimeoutHelper.
ToMilliseconds
(timeout)))
105
if (!_sourceLock.Wait(TimeoutHelper.
ToMilliseconds
(timeout)))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TimeoutStream.cs (1)
29
ReadTimeout = TimeoutHelper.
ToMilliseconds
(timeout);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (4)
284
if (!await _sendLock.WaitAsync(TimeoutHelper.
ToMilliseconds
(timeout)))
339
if (!_sendLock.Wait(TimeoutHelper.
ToMilliseconds
(timeout)))
512
if (!await _sendLock.WaitAsync(TimeoutHelper.
ToMilliseconds
(timeout)))
617
if (!_sendLock.Wait(TimeoutHelper.
ToMilliseconds
(timeout)))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpRetransmissionSettings.cs (6)
72
_delayLowerBoundMilliseconds = TimeoutHelper.
ToMilliseconds
(_delayLowerBound);
73
_delayUpperBoundMilliseconds = TimeoutHelper.
ToMilliseconds
(_delayUpperBound);
74
_maxDelayMilliseconds = TimeoutHelper.
ToMilliseconds
(_maxDelayPerRetransmission);
134
_delayLowerBoundMilliseconds = TimeoutHelper.
ToMilliseconds
(_delayLowerBound);
152
_delayUpperBoundMilliseconds = TimeoutHelper.
ToMilliseconds
(_delayUpperBound);
170
_maxDelayMilliseconds = TimeoutHelper.
ToMilliseconds
(_maxDelayPerRetransmission);