22 references to Ticks
System.ServiceModel.Internals (22)
System\Runtime\BackoffTimeoutHelper.cs (4)
103
return
Ticks
.ToTimeSpan(Math.Max(
104
Ticks
.FromTimeSpan(BackoffTimeoutHelper.defaultInitialWaitTime),
105
Ticks
.Add(
Ticks
.FromTimeSpan(this.waitTime),
System\Runtime\IOThreadTimer.cs (10)
56
this.maxSkew =
Ticks
.FromMilliseconds(maxSkewInMilliseconds);
99
SetAt(
Ticks
.Add(
Ticks
.Now,
Ticks
.FromTimeSpan(timeFromNow)));
105
SetAt(
Ticks
.Add(
Ticks
.Now,
Ticks
.FromMilliseconds(millisecondsFromNow)));
223
long now =
Ticks
.Now;
229
timerGroup.WaitableTimer.Set(
Ticks
.Add(now, maxTimeToWaitForMoreTimers));
266
long now =
Ticks
.Now;
System\Runtime\TimeoutHelper.cs (8)
56
long ticks =
Ticks
.FromTimeSpan(timeout);
61
return
Ticks
.ToMilliseconds(ticks);
79
return
Ticks
.ToTimeSpan(
Ticks
.Add(
Ticks
.FromTimeSpan(timeout1),
Ticks
.FromTimeSpan(timeout2)));
107
return
Ticks
.ToTimeSpan((
Ticks
.FromTimeSpan(timeout) / factor) + 1);