C# Class BuildingCoder.JtTimer.TimeRegistry

Afficher le fichier Open project: jeremytammik/the_building_coder_samples

Méthodes publiques

Méthode Description
AddTime ( string key, double duration ) : void

Add new duration for specified key.

WriteResults ( string description, double totalTime ) : void

Write the report of the results to a text file.

Private Methods

Méthode Description
GetPercent ( double value, double totalTime ) : double

Return the percentage based on total time.

Method Details

AddTime() public static méthode

Add new duration for specified key.
public static AddTime ( string key, double duration ) : void
key string
duration double
Résultat void

WriteResults() public static méthode

Write the report of the results to a text file.
public static WriteResults ( string description, double totalTime ) : void
description string
totalTime double
Résultat void