C# Class AsyncHelper.Program

Afficher le fichier Open project: BosphorusTeam/bosphorus.logging

Méthodes publiques

Méthode Description
Program ( ILogger logger ) : System
Run ( string args ) : void
getPrimes ( int min, int count ) : IEnumerable
getPrimesAsync ( int min, int count ) : Task>

Private Methods

Méthode Description
Log ( string args ) : void
Main ( string args ) : void
PrintPrimaryNumbers ( ) : void
PrintPrimaryNumbersAsync ( ) : void
Serialize ( string args ) : Task
Serialize ( string args ) : string
SerializeAsync ( string args ) : Task

Method Details

Program() public méthode

public Program ( ILogger logger ) : System
logger ILogger
Résultat System

Run() public méthode

public Run ( string args ) : void
args string
Résultat void

getPrimes() public static méthode

public static getPrimes ( int min, int count ) : IEnumerable
min int
count int
Résultat IEnumerable

getPrimesAsync() public static méthode

public static getPrimesAsync ( int min, int count ) : Task>
min int
count int
Résultat Task>