C# 클래스 Composable.Testing.TimeAsserter

파일 보기 프로젝트 열기: mlidbom/Composable.Monolithic

공개 메소드들

메소드 설명
Execute ( System.Action action, int iterations = 1, System.TimeSpan maxAverage = null, System.TimeSpan maxTotal = null, string description = "", string timeFormat = DefaultTimeFormat, int maxTries = 3 ) : StopwatchExtensions.TimedExecutionSummary
ExecuteThreaded ( System.Action action, int iterations = 1, System.TimeSpan maxAverage = null, System.TimeSpan maxTotal = null, bool timeIndividualExecutions = false, string description = "", string timeFormat = DefaultTimeFormat, int maxTries = 3 ) : StopwatchExtensions.TimedThreadedExecutionSummary

비공개 메소드들

메소드 설명
PrintSummary ( int iterations, System.TimeSpan maxAverage, System.TimeSpan maxTotal, string description, string>.Func format, StopwatchExtensions executionSummary ) : void
RunAsserts ( System.TimeSpan maxAverage, System.TimeSpan maxTotal, StopwatchExtensions executionSummary, string>.Func format ) : void

메소드 상세

Execute() 공개 정적인 메소드

public static Execute ( System.Action action, int iterations = 1, System.TimeSpan maxAverage = null, System.TimeSpan maxTotal = null, string description = "", string timeFormat = DefaultTimeFormat, int maxTries = 3 ) : StopwatchExtensions.TimedExecutionSummary
action System.Action
iterations int
maxAverage System.TimeSpan
maxTotal System.TimeSpan
description string
timeFormat string
maxTries int
리턴 Composable.System.Diagnostics.StopwatchExtensions.TimedExecutionSummary

ExecuteThreaded() 공개 정적인 메소드

public static ExecuteThreaded ( System.Action action, int iterations = 1, System.TimeSpan maxAverage = null, System.TimeSpan maxTotal = null, bool timeIndividualExecutions = false, string description = "", string timeFormat = DefaultTimeFormat, int maxTries = 3 ) : StopwatchExtensions.TimedThreadedExecutionSummary
action System.Action
iterations int
maxAverage System.TimeSpan
maxTotal System.TimeSpan
timeIndividualExecutions bool
description string
timeFormat string
maxTries int
리턴 Composable.System.Diagnostics.StopwatchExtensions.TimedThreadedExecutionSummary