DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | Private Attributes | List of all members
Deveel.Data.Sql.Parser.SqlDefaultParser.Timer Class Reference
Inheritance diagram for Deveel.Data.Sql.Parser.SqlDefaultParser.Timer:

Public Member Functions

 Timer ()
 
void Dispose ()
 

Properties

TimeSpan Elapsed [get]
 

Private Attributes

Stopwatch stopwatch
 

Detailed Description

Definition at line 179 of file SqlDefaultParser.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Parser.SqlDefaultParser.Timer.Timer ( )
inline

Definition at line 186 of file SqlDefaultParser.cs.

186  {
187 #if PCL
188  startTime = DateTimeOffset.UtcNow;
189 #else
190  stopwatch = new Stopwatch();
191  stopwatch.Start();
192 #endif
193  }

Member Function Documentation

void Deveel.Data.Sql.Parser.SqlDefaultParser.Timer.Dispose ( )
inline

Definition at line 205 of file SqlDefaultParser.cs.

205  {
206 #if !PCL
207  if (stopwatch != null)
208  stopwatch.Stop();
209 #endif
210  }

Member Data Documentation

Stopwatch Deveel.Data.Sql.Parser.SqlDefaultParser.Timer.stopwatch
private

Definition at line 183 of file SqlDefaultParser.cs.

Property Documentation

TimeSpan Deveel.Data.Sql.Parser.SqlDefaultParser.Timer.Elapsed
get

Definition at line 195 of file SqlDefaultParser.cs.


The documentation for this class was generated from the following file: