9 references to FromTimeSpan
System.ServiceModel.Primitives (9)
Internals\System\Runtime\IOThreadTimer.cs (1)
74
SetAt(Ticks.Add(Ticks.Now, Ticks.
FromTimeSpan
(timeFromNow)));
Internals\System\Runtime\TimeoutHelper.cs (4)
90
long ticks = Ticks.
FromTimeSpan
(timeout);
113
return Ticks.ToTimeSpan(Ticks.Add(Ticks.
FromTimeSpan
(timeout1), Ticks.
FromTimeSpan
(timeout2)));
141
return Ticks.ToTimeSpan((Ticks.
FromTimeSpan
(timeout) / factor) + 1);
System\ServiceModel\Channels\ChannelReliableSession.cs (2)
640
return Ticks.ToTimeSpan(Ticks.
FromTimeSpan
(Settings.InactivityTimeout) / 2);
650
TimeSpan fastPollingInterval = Ticks.ToTimeSpan(Ticks.
FromTimeSpan
(_binder.DefaultSendTimeout) / 2);
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (1)
1664
return Ticks.ToTimeSpan(Ticks.
FromTimeSpan
(inactivityTimeout) / 2 / maxRetryCount);
System\ServiceModel\Channels\ServiceChannel.cs (1)
2410
_idleTicks = Ticks.
FromTimeSpan
(idle);