C# Class TaskSamples.Program

Afficher le fichier Open project: ProfessionalCSharp/ProfessionalCSharp6

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public static ContinuationTasks ( ) : void
Résultat void

Log() public static méthode

public static Log ( string title ) : void
title string
Résultat void

LongRunningTask() public static méthode

public static LongRunningTask ( ) : void
Résultat void

ParentAndChild() public static méthode

public static ParentAndChild ( ) : void
Résultat void

RunSynchronousTask() public static méthode

public static RunSynchronousTask ( ) : void
Résultat void

TaskMethod() public static méthode

public static TaskMethod ( object o ) : void
o object
Résultat void

TaskWithResultDemo() public static méthode

public static TaskWithResultDemo ( ) : void
Résultat void

TasksUsingThreadPool() public static méthode

public static TasksUsingThreadPool ( ) : void
Résultat void