Click or drag to resize
DigitalRuneStopwatch Class
Wraps the Stopwatch class for use in a portable class library profile which does not support the normal .NET stopwatch.
Inheritance Hierarchy
SystemObject
  DigitalRune.DiagnosticsStopwatch

Namespace: DigitalRune.Diagnostics
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public class Stopwatch

The Stopwatch type exposes the following members.

Constructors
  NameDescription
Public methodStopwatch
Initializes a new instance of the Stopwatch class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Stops time interval measurement and resets the elapsed time to zero.
Public methodStart
Starts, or resumes, measuring elapsed time for an interval.
Public methodStatic memberStartNew
Initializes a new Stopwatch instance, sets the elapsed time property to zero, and starts measuring elapsed time.
Public methodStop
Stops measuring elapsed time for an interval.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyElapsed
Gets the total elapsed time measured by the current instance.
Public propertyIsRunning
Gets a value indicating whether this instance is running.
Top
See Also