7 references to FromTimeSpan
System.ServiceModel.Internals (7)
System\Runtime\BackoffTimeoutHelper.cs (2)
104
Ticks.
FromTimeSpan
(BackoffTimeoutHelper.defaultInitialWaitTime),
105
Ticks.Add(Ticks.
FromTimeSpan
(this.waitTime),
System\Runtime\IOThreadTimer.cs (1)
99
SetAt(Ticks.Add(Ticks.Now, Ticks.
FromTimeSpan
(timeFromNow)));
System\Runtime\TimeoutHelper.cs (4)
56
long ticks = Ticks.
FromTimeSpan
(timeout);
79
return Ticks.ToTimeSpan(Ticks.Add(Ticks.
FromTimeSpan
(timeout1), Ticks.
FromTimeSpan
(timeout2)));
107
return Ticks.ToTimeSpan((Ticks.
FromTimeSpan
(timeout) / factor) + 1);