28 references to AddSeconds
mscorlib (1)
system\datetimeoffset.cs (1)
420return new DateTimeOffset(ClockDateTime.AddSeconds(seconds), Offset);
System (3)
net\System\Net\cookie.cs (1)
1427cookie.Expires = DateTime.Now.AddSeconds((double)parsed);
services\monitoring\system\diagnosticts\EventLogEntry.cs (2)
336return beginningOfTime.AddSeconds(IntFrom(dataBuf, bufOffset + FieldOffsets.TIMEGENERATED)).ToLocalTime(); 350return beginningOfTime.AddSeconds(IntFrom(dataBuf, bufOffset + FieldOffsets.TIMEWRITTEN)).ToLocalTime();
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlDependency.cs (1)
1087_expirationTime = DateTime.UtcNow.AddSeconds(seconds);
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
848sqlDateTime = new SqlDateTime(dateTime.AddSeconds(30));
System.Messaging (4)
System\Messaging\Message.cs (2)
432time = time.AddSeconds(properties.GetUI4(NativeMethods.MESSAGE_PROPID_ARRIVEDTIME)).ToLocalTime(); 1622time = time.AddSeconds(properties.GetUI4(NativeMethods.MESSAGE_PROPID_SENTTIME)).ToLocalTime();
System\Messaging\MessageQueue.cs (2)
482this.createTime = time.AddSeconds(properties.GetI4(NativeMethods.QUEUE_PROPID_CREATE_TIME)).ToLocalTime(); 795this.lastModifyTime = time.AddSeconds(properties.GetI4(NativeMethods.QUEUE_PROPID_MODIFY_TIME)).ToLocalTime();
System.ServiceModel (1)
System\ServiceModel\Channels\NativeMsmqMessage.cs (1)
585return new DateTime(1970, 1, 1).AddSeconds(seconds);
System.ServiceModel.Web (1)
System\ServiceModel\Web\CachingParameterInspector.cs (1)
311cache.SetExpires(HttpContext.Current.Timestamp.AddSeconds((double)this.cacheProfile.Duration));
System.Web (12)
CachedPathData.cs (1)
377AbsoluteExpiration = DateTime.UtcNow.AddSeconds(5),
Compilation\BuildResult.cs (3)
201private DateTime _nextUpToDateCheck = DateTime.Now.AddSeconds(UpdateInterval); 381_nextUpToDateCheck = now.AddSeconds(UpdateInterval); 410return DateTime.UtcNow.AddSeconds(10);
FileChangesMonitor.cs (1)
882if (fad.UtcLastAccessTime.AddSeconds(60) < target.UtcStartMonitoring) {
Hosting\HostingEnvironment.cs (1)
571DateTime waitUntil = DateTime.UtcNow.AddSeconds(shutdownTimeoutSeconds);
HttpRuntime.cs (3)
2177DateTime maxWait = DateTime.UtcNow.AddSeconds(maxWaitChangeNotification); 2181if (DateTime.UtcNow > _theRuntime.LastShutdownAttemptTime.AddSeconds(waitChangeNotification)) 2239if (DateTime.UtcNow < _theRuntime._firstRequestStartTime.AddSeconds(delayTimeoutSec)) {
Management\SqlWebEventProvider.cs (1)
247_retryDate = DateTime.UtcNow.AddSeconds(timeout);
UI\DataSourceCache.cs (1)
209utcAbsoluteExpiryTime = DateTime.UtcNow.AddSeconds(Duration == 0 ? Int32.MaxValue : Duration);
UI\Page.cs (1)
3703cache.SetExpires(Context.Timestamp.AddSeconds(duration));
System.Web.DataVisualization (1)
Common\General\Label.cs (1)
294labelEnd = DateTime.FromOADate(labelStart).AddSeconds(labelsStep).ToOADate();
System.Web.Extensions (1)
Script\Services\RestHandler.cs (1)
66context.Response.Cache.SetExpires(DateTime.Now.AddSeconds(cacheDuration));
System.Web.Services (1)
System\Web\Services\Protocols\WebServiceHandler.cs (1)
63context.Response.Cache.SetExpires(DateTime.Now.AddSeconds(cacheDuration));
System.Windows.Forms.DataVisualization (1)
Common\General\Label.cs (1)
294labelEnd = DateTime.FromOADate(labelStart).AddSeconds(labelsStep).ToOADate();