C# Class TaskSamples.Program

Datei anzeigen Open project: ProfessionalCSharp/ProfessionalCSharp6

Public Methods

Method Description
ContinuationTasks ( ) : void
Log ( string title ) : void
LongRunningTask ( ) : void
ParentAndChild ( ) : void
RunSynchronousTask ( ) : void
TaskMethod ( object o ) : void
TaskWithResultDemo ( ) : void
TasksUsingThreadPool ( ) : void

Private Methods

Method Description
ChildTask ( ) : void
DoOnFirst ( ) : void
DoOnSecond ( Task t ) : void
Main ( string args ) : void
ParentTask ( ) : void
ShowUsage ( ) : void
TaskWithResult ( object division ) : int>.Tuple

Method Details

ContinuationTasks() public static method

public static ContinuationTasks ( ) : void
return void

Log() public static method

public static Log ( string title ) : void
title string
return void

LongRunningTask() public static method

public static LongRunningTask ( ) : void
return void

ParentAndChild() public static method

public static ParentAndChild ( ) : void
return void

RunSynchronousTask() public static method

public static RunSynchronousTask ( ) : void
return void

TaskMethod() public static method

public static TaskMethod ( object o ) : void
o object
return void

TaskWithResultDemo() public static method

public static TaskWithResultDemo ( ) : void
return void

TasksUsingThreadPool() public static method

public static TasksUsingThreadPool ( ) : void
return void