C# Class ParallelDemo.MainWindow

显示文件 Open project: yuske/ParallelDemo

Public Methods

Method Description
MainWindow ( ) : System
WaitAndPump ( Task tasks ) : void

Private Methods

Method Description
CreateTask ( long start, long end, CancellationToken token ) : Task
Do ( ) : void
DoEvents ( ) : void
ExitFrame ( object f ) : object
OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void

Method Details

MainWindow() public method

public MainWindow ( ) : System
return System

WaitAndPump() public method

public WaitAndPump ( Task tasks ) : void
tasks Task
return void