C# Класс FarseerPhysics.Common.Stopwatch

An emulation for the Stopwatch class for Windows Phone and Silverlight.
Показать файл Открыть проект

Открытые методы

Метод Описание
Reset ( ) : void

Completely resets and deactivates the timer.

Start ( ) : void

Begins the timer.

StartNew ( ) : Stopwatch

Creates a new instance of the class and starts the watch immediately.

Stop ( ) : void

Stops the current timer.

Stopwatch ( ) : System

Creates an instance of the Stopwatch class.

Приватные методы

Метод Описание
GetCurrentElapsedTicks ( ) : long
GetCurrentTicks ( ) : long

Описание методов

Reset() публичный Метод

Completely resets and deactivates the timer.
public Reset ( ) : void
Результат void

Start() публичный Метод

Begins the timer.
public Start ( ) : void
Результат void

StartNew() публичный статический Метод

Creates a new instance of the class and starts the watch immediately.
public static StartNew ( ) : Stopwatch
Результат Stopwatch

Stop() публичный Метод

Stops the current timer.
public Stop ( ) : void
Результат void

Stopwatch() публичный Метод

Creates an instance of the Stopwatch class.
public Stopwatch ( ) : System
Результат System