Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Services / Timers / System / Timers / ElapsedEventArgs.cs / 1 / ElapsedEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Timers {
using System;
using System.Diagnostics;
public class ElapsedEventArgs : EventArgs {
private DateTime signalTime;
internal ElapsedEventArgs(int low, int high) {
long fileTime = (long)((((ulong)high) << 32) | (((ulong)low) & 0xffffffff));
this.signalTime = DateTime.FromFileTime(fileTime);
}
public DateTime SignalTime {
get {
return this.signalTime;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Timers {
using System;
using System.Diagnostics;
public class ElapsedEventArgs : EventArgs {
private DateTime signalTime;
internal ElapsedEventArgs(int low, int high) {
long fileTime = (long)((((ulong)high) << 32) | (((ulong)low) & 0xffffffff));
this.signalTime = DateTime.FromFileTime(fileTime);
}
public DateTime SignalTime {
get {
return this.signalTime;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlUrlResolver.cs
- OdbcTransaction.cs
- TreeNodeStyle.cs
- DesignerLabelAdapter.cs
- WorkflowApplicationTerminatedException.cs
- QuadraticEase.cs
- URL.cs
- WebBrowserNavigatingEventHandler.cs
- IOException.cs
- Monitor.cs
- RestHandlerFactory.cs
- ServiceManager.cs
- ObjectKeyFrameCollection.cs
- ControlPaint.cs
- ReferenceAssemblyAttribute.cs
- TextServicesHost.cs
- CombinedTcpChannel.cs
- Parameter.cs
- FileLogRecord.cs
- UiaCoreProviderApi.cs
- Logging.cs
- EntityType.cs
- ConfigurationSettings.cs
- OverflowException.cs
- SecurityDocument.cs
- ThemeDictionaryExtension.cs
- PagesChangedEventArgs.cs
- Profiler.cs
- InvalidFilterCriteriaException.cs
- ObjectQuery.cs
- BaseValidator.cs
- HttpResponse.cs
- FormCollection.cs
- ActivityDesignerResources.cs
- autovalidator.cs
- ToolStripDesigner.cs
- JoinSymbol.cs
- FormViewDeletedEventArgs.cs
- SystemEvents.cs
- SafeSystemMetrics.cs
- AttributeData.cs
- DispatcherObject.cs
- DbCommandTree.cs
- TableRowCollection.cs
- CodeTypeDeclarationCollection.cs
- Scheduler.cs
- Content.cs
- CustomWebEventKey.cs
- HelpKeywordAttribute.cs
- OleAutBinder.cs
- DateTimeParse.cs
- KeyValueConfigurationElement.cs
- DesignerMetadata.cs
- CustomAttribute.cs
- Error.cs
- cookiecontainer.cs
- CompoundFileStorageReference.cs
- BindingObserver.cs
- SpecialTypeDataContract.cs
- IdnElement.cs
- HybridDictionary.cs
- RestHandler.cs
- ZoomPercentageConverter.cs
- SingleAnimationBase.cs
- ISSmlParser.cs
- Errors.cs
- Instrumentation.cs
- ValidateNames.cs
- CatalogPart.cs
- ExpressionWriter.cs
- TypeHelpers.cs
- SchemaInfo.cs
- HasCopySemanticsAttribute.cs
- ActiveXSite.cs
- DataIdProcessor.cs
- UserControl.cs
- _UncName.cs
- SingleObjectCollection.cs
- ByteAnimation.cs
- AddressHeaderCollection.cs
- PolyBezierSegment.cs
- WebPartVerbCollection.cs
- EntityDataSource.cs
- CompositeClientFormatter.cs
- TraceLevelStore.cs
- MediaScriptCommandRoutedEventArgs.cs
- HandlerBase.cs
- ApplicationProxyInternal.cs
- ServiceActivationException.cs
- StructuredType.cs
- LambdaCompiler.Unary.cs
- ConstructorNeedsTagAttribute.cs
- LinkedResourceCollection.cs
- ArgumentNullException.cs
- SchemaEntity.cs
- MenuItemAutomationPeer.cs
- UnsignedPublishLicense.cs
- ConstructorBuilder.cs
- Panel.cs
- EdmConstants.cs