C# 클래스 RoomEditorApp.JtTimer.TimeRegistry

파일 보기 프로젝트 열기: jeremytammik/RoomEditorApp

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
GetPercent ( double value, double totalTime ) : double

Return the percentage based on total time.

메소드 상세

AddTime() 공개 정적인 메소드

Add new duration for specified key.
public static AddTime ( string key, double duration ) : void
key string
duration double
리턴 void

WriteResults() 공개 정적인 메소드

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