WithAction Method
Definition
- Namespace
- Cuemon.Diagnostics
- Assemblies
- Cuemon.Diagnostics.dll
WithAction(Action, Action<TimeMeasureOptions>)
Profile and time measure the specified action delegate.
public static TimeMeasureProfiler WithAction(Action action, Action<TimeMeasureOptions> setup = null)
Parameters
actionActionThe delegate to time measure.
setupAction<TimeMeasureOptions>The TimeMeasureOptions which may be configured.
Returns
- TimeMeasureProfiler
A TimeMeasureProfiler with the result of the time measuring.
WithAction<T>(Action<T>, T, Action<TimeMeasureOptions>)
Profile and time measure the specified action delegate.
public static TimeMeasureProfiler WithAction<T>(Action<T> action, T arg, Action<TimeMeasureOptions> setup = null)
Parameters
actionAction<T>The delegate to time measure.
argTThe parameter of the
actiondelegate.setupAction<TimeMeasureOptions>The TimeMeasureOptions which may be configured.
Returns
- TimeMeasureProfiler
A TimeMeasureProfiler with the result of the time measuring.
Type Parameters
TThe type of the parameter of the
actiondelegate.
WithAction<T1, T2>(Action<T1, T2>, T1, T2, Action<TimeMeasureOptions>)
Profile and time measure the specified action delegate.
public static TimeMeasureProfiler WithAction<T1, T2>(Action<T1, T2> action, T1 arg1, T2 arg2, Action<TimeMeasureOptions> setup = null)
Parameters
actionAction<T1, T2>The delegate to time measure.
arg1T1The first parameter of the
actiondelegate.arg2T2The second parameter of the
actiondelegate.setupAction<TimeMeasureOptions>The TimeMeasureOptions which may be configured.
Returns
- TimeMeasureProfiler
A TimeMeasureProfiler with the result of the time measuring.
Type Parameters
T1The type of the first parameter of the
actiondelegate.T2The type of the second parameter of the
actiondelegate.
WithAction<T1, T2, T3>(Action<T1, T2, T3>, T1, T2, T3, Action<TimeMeasureOptions>)
Profile and time measure the specified action delegate.
public static TimeMeasureProfiler WithAction<T1, T2, T3>(Action<T1, T2, T3> action, T1 arg1, T2 arg2, T3 arg3, Action<TimeMeasureOptions> setup = null)
Parameters
actionAction<T1, T2, T3>The delegate to time measure.
arg1T1The first parameter of the
actiondelegate.arg2T2The second parameter of the
actiondelegate.arg3T3The third parameter of the
actiondelegate.setupAction<TimeMeasureOptions>The TimeMeasureOptions which may be configured.
Returns
- TimeMeasureProfiler
A TimeMeasureProfiler with the result of the time measuring.
Type Parameters
T1The type of the first parameter of the
actiondelegate.T2The type of the second parameter of the
actiondelegate.T3The type of the third parameter of the
actiondelegate.
WithAction<T1, T2, T3, T4>(Action<T1, T2, T3, T4>, T1, T2, T3, T4, Action<TimeMeasureOptions>)
Profile and time measure the specified action delegate.
public static TimeMeasureProfiler WithAction<T1, T2, T3, T4>(Action<T1, T2, T3, T4> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, Action<TimeMeasureOptions> setup = null)
Parameters
actionAction<T1, T2, T3, T4>The delegate to time measure.
arg1T1The first parameter of the
actiondelegate.arg2T2The second parameter of the
actiondelegate.arg3T3The third parameter of the
actiondelegate.arg4T4The fourth parameter of the
actiondelegate.setupAction<TimeMeasureOptions>The TimeMeasureOptions which may be configured.
Returns
- TimeMeasureProfiler
A TimeMeasureProfiler with the result of the time measuring.
Type Parameters
T1The type of the first parameter of the
actiondelegate.T2The type of the second parameter of the
actiondelegate.T3The type of the third parameter of the
actiondelegate.T4The type of the fourth parameter of the
actiondelegate.
WithAction<T1, T2, T3, T4, T5>(Action<T1, T2, T3, T4, T5>, T1, T2, T3, T4, T5, Action<TimeMeasureOptions>)
Profile and time measure the specified action delegate.
public static TimeMeasureProfiler WithAction<T1, T2, T3, T4, T5>(Action<T1, T2, T3, T4, T5> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, Action<TimeMeasureOptions> setup = null)
Parameters
actionAction<T1, T2, T3, T4, T5>The delegate to time measure.
arg1T1The first parameter of the
actiondelegate.arg2T2The second parameter of the
actiondelegate.arg3T3The third parameter of the
actiondelegate.arg4T4The fourth parameter of the
actiondelegate.arg5T5The fifth parameter of the
actiondelegate.setupAction<TimeMeasureOptions>The TimeMeasureOptions which may be configured.
Returns
- TimeMeasureProfiler
A TimeMeasureProfiler with the result of the time measuring.
Type Parameters
T1The type of the first parameter of the
actiondelegate.T2The type of the second parameter of the
actiondelegate.T3The type of the third parameter of the
actiondelegate.T4The type of the fourth parameter of the
actiondelegate.T5The type of the fifth parameter of the
actiondelegate.
WithAction<T1, T2, T3, T4, T5, T6>(Action<T1, T2, T3, T4, T5, T6>, T1, T2, T3, T4, T5, T6, Action<TimeMeasureOptions>)
Profile and time measure the specified action delegate.
public static TimeMeasureProfiler WithAction<T1, T2, T3, T4, T5, T6>(Action<T1, T2, T3, T4, T5, T6> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, Action<TimeMeasureOptions> setup = null)
Parameters
actionAction<T1, T2, T3, T4, T5, T6>The delegate to time measure.
arg1T1The first parameter of the
actiondelegate.arg2T2The second parameter of the
actiondelegate.arg3T3The third parameter of the
actiondelegate.arg4T4The fourth parameter of the
actiondelegate.arg5T5The fifth parameter of the
actiondelegate.arg6T6The sixth parameter of the
actiondelegate.setupAction<TimeMeasureOptions>The TimeMeasureOptions which may be configured.
Returns
- TimeMeasureProfiler
A TimeMeasureProfiler with the result of the time measuring.
Type Parameters
T1The type of the first parameter of the
actiondelegate.T2The type of the second parameter of the
actiondelegate.T3The type of the third parameter of the
actiondelegate.T4The type of the fourth parameter of the
actiondelegate.T5The type of the fifth parameter of the
actiondelegate.T6The type of the sixth parameter of the
actiondelegate.
WithAction<T1, T2, T3, T4, T5, T6, T7>(Action<T1, T2, T3, T4, T5, T6, T7>, T1, T2, T3, T4, T5, T6, T7, Action<TimeMeasureOptions>)
Profile and time measure the specified action delegate.
public static TimeMeasureProfiler WithAction<T1, T2, T3, T4, T5, T6, T7>(Action<T1, T2, T3, T4, T5, T6, T7> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, Action<TimeMeasureOptions> setup = null)
Parameters
actionAction<T1, T2, T3, T4, T5, T6, T7>The delegate to time measure.
arg1T1The first parameter of the
actiondelegate.arg2T2The second parameter of the
actiondelegate.arg3T3The third parameter of the
actiondelegate.arg4T4The fourth parameter of the
actiondelegate.arg5T5The fifth parameter of the
actiondelegate.arg6T6The sixth parameter of the
actiondelegate.arg7T7The seventh parameter of the
actiondelegate.setupAction<TimeMeasureOptions>The TimeMeasureOptions which may be configured.
Returns
- TimeMeasureProfiler
A TimeMeasureProfiler with the result of the time measuring.
Type Parameters
T1The type of the first parameter of the
actiondelegate.T2The type of the second parameter of the
actiondelegate.T3The type of the third parameter of the
actiondelegate.T4The type of the fourth parameter of the
actiondelegate.T5The type of the fifth parameter of the
actiondelegate.T6The type of the sixth parameter of the
actiondelegate.T7The type of the seventh parameter of the
actiondelegate.
WithAction<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1, T2, T3, T4, T5, T6, T7, T8>, T1, T2, T3, T4, T5, T6, T7, T8, Action<TimeMeasureOptions>)
Profile and time measure the specified action delegate.
public static TimeMeasureProfiler WithAction<T1, T2, T3, T4, T5, T6, T7, T8>(Action<T1, T2, T3, T4, T5, T6, T7, T8> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, Action<TimeMeasureOptions> setup = null)
Parameters
actionAction<T1, T2, T3, T4, T5, T6, T7, T8>The delegate to time measure.
arg1T1The first parameter of the
actiondelegate.arg2T2The second parameter of the
actiondelegate.arg3T3The third parameter of the
actiondelegate.arg4T4The fourth parameter of the
actiondelegate.arg5T5The fifth parameter of the
actiondelegate.arg6T6The sixth parameter of the
actiondelegate.arg7T7The seventh parameter of the
actiondelegate.arg8T8The eighth parameter of the
actiondelegate.setupAction<TimeMeasureOptions>The TimeMeasureOptions which may be configured.
Returns
- TimeMeasureProfiler
A TimeMeasureProfiler with the result of the time measuring.
Type Parameters
T1The type of the first parameter of the
actiondelegate.T2The type of the second parameter of the
actiondelegate.T3The type of the third parameter of the
actiondelegate.T4The type of the fourth parameter of the
actiondelegate.T5The type of the fifth parameter of the
actiondelegate.T6The type of the sixth parameter of the
actiondelegate.T7The type of the seventh parameter of the
actiondelegate.T8The type of the eighth parameter of the
actiondelegate.
WithAction<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>, T1, T2, T3, T4, T5, T6, T7, T8, T9, Action<TimeMeasureOptions>)
Profile and time measure the specified action delegate.
public static TimeMeasureProfiler WithAction<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, Action<TimeMeasureOptions> setup = null)
Parameters
actionAction<T1, T2, T3, T4, T5, T6, T7, T8, T9>The delegate to time measure.
arg1T1The first parameter of the
actiondelegate.arg2T2The second parameter of the
actiondelegate.arg3T3The third parameter of the
actiondelegate.arg4T4The fourth parameter of the
actiondelegate.arg5T5The fifth parameter of the
actiondelegate.arg6T6The sixth parameter of the
actiondelegate.arg7T7The seventh parameter of the
actiondelegate.arg8T8The eighth parameter of the
actiondelegate.arg9T9The ninth parameter of the
actiondelegate .setupAction<TimeMeasureOptions>The TimeMeasureOptions which may be configured.
Returns
- TimeMeasureProfiler
A TimeMeasureProfiler with the result of the time measuring.
Type Parameters
T1The type of the first parameter of the
actiondelegate.T2The type of the second parameter of the
actiondelegate.T3The type of the third parameter of the
actiondelegate.T4The type of the fourth parameter of the
actiondelegate.T5The type of the fifth parameter of the
actiondelegate.T6The type of the sixth parameter of the
actiondelegate.T7The type of the seventh parameter of the
actiondelegate.T8The type of the eighth parameter of the
actiondelegate.T9The type of the ninth parameter of the
actiondelegate.
WithAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Action<TimeMeasureOptions>)
Profile and time measure the specified action delegate.
public static TimeMeasureProfiler WithAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, Action<TimeMeasureOptions> setup = null)
Parameters
actionAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>The delegate to time measure.
arg1T1The first parameter of the
actiondelegate.arg2T2The second parameter of the
actiondelegate.arg3T3The third parameter of the
actiondelegate.arg4T4The fourth parameter of the
actiondelegate.arg5T5The fifth parameter of the
actiondelegate.arg6T6The sixth parameter of the
actiondelegate.arg7T7The seventh parameter of the
actiondelegate.arg8T8The eighth parameter of the
actiondelegate.arg9T9The ninth parameter of the
actiondelegate .arg10T10The tenth parameter of the
actiondelegate.setupAction<TimeMeasureOptions>The TimeMeasureOptions which may be configured.
Returns
- TimeMeasureProfiler
A TimeMeasureProfiler with the result of the time measuring.
Type Parameters
T1The type of the first parameter of the
actiondelegate.T2The type of the second parameter of the
actiondelegate.T3The type of the third parameter of the
actiondelegate.T4The type of the fourth parameter of the
actiondelegate.T5The type of the fifth parameter of the
actiondelegate.T6The type of the sixth parameter of the
actiondelegate.T7The type of the seventh parameter of the
actiondelegate.T8The type of the eighth parameter of the
actiondelegate.T9The type of the ninth parameter of the
actiondelegate.T10The type of the tenth parameter of the
actiondelegate.