C# Class AsyncHelper.Program

Mostra file Open project: BosphorusTeam/bosphorus.logging

Public Methods

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

Private Methods

Method 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 method

public Program ( ILogger logger ) : System
logger ILogger
return System

Run() public method

public Run ( string args ) : void
args string
return void

getPrimes() public static method

public static getPrimes ( int min, int count ) : IEnumerable
min int
count int
return IEnumerable

getPrimesAsync() public static method

public static getPrimesAsync ( int min, int count ) : Task>
min int
count int
return Task>