C# Класс ReplaySync.MainWindowViewModel

ViewModel for the MainWindow, handling all application logic.
Наследование: ReplaySync.MVVM.ObservableObject
Показать файл Открыть проект

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

Метод Описание
MainWindowViewModel ( ) : System

Initializes a new instance of the MainWindowViewModel class.

Shutdown ( ) : void

Stops all running threads and stops the listening timer. Deallocates all memory.

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

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

Opens a listening UDP port to broadcast timer updates.

Sync ( ) : void

Connects to an IP address and syncs the time between computers.

TimerTick ( object sender, EventArgs e ) : void

Grabs a screen capture of the game timer on every tick.

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

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

Initializes a new instance of the MainWindowViewModel class.
public MainWindowViewModel ( ) : System
Результат System

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

Stops all running threads and stops the listening timer. Deallocates all memory.
public Shutdown ( ) : void
Результат void