Sharpility
Sharpility.Time.FixedClock Class Reference

Clock with fixed time. More...

Inheritance diagram for Sharpility.Time.FixedClock:
Sharpility.Time.Clock

List of all members.

Public Member Functions

void Set (DateTime time)
 Sets clock time.

Static Public Member Functions

static FixedClock At (DateTime time)
 Create new clock instance at given time.
static FixedClock AtThisInstance ()
 Create new clock instance at current time.

Properties

DateTime CurrentTime [get]
 Returns current time.

Detailed Description

Clock with fixed time.


Member Function Documentation

static FixedClock Sharpility.Time.FixedClock.At ( DateTime  time) [inline, static]

Create new clock instance at given time.

Parameters:
timetime
Returns:
clock

Create new clock instance at current time.

Returns:
void Sharpility.Time.FixedClock.Set ( DateTime  time) [inline]

Sets clock time.

Parameters:
time

Property Documentation

Returns current time.

Implements Sharpility.Time.Clock.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Enumerations Properties