28 references to Add
mscorlib (4)
system\datetimeoffset.cs (1)
366
return new DateTimeOffset(ClockDateTime.
Add
(timeSpan), Offset);
system\runtime\remoting\lease.cs (2)
80
leaseTime = DateTime.UtcNow.
Add
(initialLeaseTime);
557
DateTime renewTime = now.
Add
(renewalSpan);
system\runtime\remoting\leasemanager.cs (1)
168
DateTime sponsorWaitTime = DateTime.UtcNow.
Add
(sponsorshipTimeOut);
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\LoadRetryHandler.cs (1)
28
DateTime retryTime = DateTime.UtcNow.
Add
(command.RetryTimeout);
System.Data (1)
fx\src\data\System\Data\SQLTypes\SQLDateTime.cs (1)
225
return SQLBaseDate.
Add
(ToTimeSpan(value));
System.Data.Linq (1)
DbConvert.cs (1)
133
return dt.
Add
((TimeSpan)value);
System.IdentityModel (2)
System\IdentityModel\SecurityUtils.cs (2)
170
DateTime curEffectiveTime = (effectiveTime < DateTime.MinValue.
Add
(maxClockSkew)) ? effectiveTime : effectiveTime.Subtract(maxClockSkew);
171
DateTime curExpirationTime = (expirationTime > DateTime.MaxValue.Subtract(maxClockSkew)) ? expirationTime : expirationTime.
Add
(maxClockSkew);
System.Runtime.Serialization (2)
System\Xml\XmlConverter.cs (2)
836
value = value.
Add
(ts).ToLocalTime();
840
value = value.ToLocalTime().
Add
(ts);
System.ServiceModel (5)
System\ServiceModel\Security\SecurityUtils.cs (2)
328
DateTime curEffectiveTime = (effectiveTime < DateTime.MinValue.
Add
(maxClockSkew)) ? effectiveTime : effectiveTime.Subtract(maxClockSkew);
329
DateTime curExpirationTime = (expirationTime > DateTime.MaxValue.Subtract(maxClockSkew)) ? expirationTime : expirationTime.
Add
(maxClockSkew);
System\ServiceModel\Security\TimeBoundedCache.cs (2)
39
this.nextPurgeTimeUtc = DateTime.UtcNow.
Add
(this.purgeInterval);
409
this.nextPurgeTimeUtc = DateTime.UtcNow.
Add
(this.purgeInterval);
System\ServiceModel\Security\Tokens\WindowsUserNameCachingSecurityTokenAuthenticator.cs (1)
48
DateTime expirationTime = DateTime.UtcNow.
Add
(this.cachedLogonTokenLifetime);
System.Web (5)
Cache\SqlCacheDependency.cs (2)
800
DateTime waitLimit = DateTime.UtcNow.
Add
(new TimeSpan(0, 0, timeout));
1020
DateTime waitLimit = DateTime.UtcNow.
Add
(new TimeSpan(0, 0, timeout));
IdleTimeoutMonitor.cs (1)
70
if (DateTime.UtcNow <= LastEvent.
Add
(_idleTimeout))
State\sqlstateclientmanager.cs (1)
856
endRetryTime = DateTime.UtcNow.
Add
(s_retryInterval);
UI\PartialCachingControl.cs (1)
314
_utcExpirationTime = DateTime.UtcNow.
Add
(value);
System.Web.DataVisualization (1)
Common\General\ChartElement.cs (1)
1340
double result = date.
Add
(span).ToOADate() - current;
System.Windows.Forms.DataVisualization (1)
Common\General\ChartElement.cs (1)
1340
double result = date.
Add
(span).ToOADate() - current;
System.Xml (5)
System\Xml\BinaryXml\SqlUtils.cs (1)
799
return SQLBaseDate.
Add
( new TimeSpan( dateticks * TimeSpan.TicksPerDay +
System\Xml\Schema\XsdDateTime.cs (4)
351
return new DateTime(dt.
Add
(new TimeSpan(ZoneHour, ZoneMinute, 0)).Ticks, DateTimeKind.Utc);
388
result = xdt.dt.
Add
(addDiff);
445
dt = xdt.dt.
Add
( addDiff );
654
return dt.
Add
(new TimeSpan(ZoneHour, ZoneMinute, 0));