C# 클래스 ReplaySync.MainWindowViewModel

ViewModel for the MainWindow, handling all application logic.
상속: ReplaySync.MVVM.ObservableObject
파일 보기 프로젝트 열기: ascendedguard/sc2-replaysync

공개 메소드들

메소드 설명
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