Class TimeMeasure
Provides a flexible, generic and lambda friendly way to perform time measuring operations.
Inheritance
Namespace: Cuemon.Diagnostics
Assembly: Cuemon.Core.dll
Syntax
public static class TimeMeasure
Properties
| Improve this DocCompletedCallback
Gets or sets the callback that is invoked when a time measuring operation is completed.
Declaration
public static Action<TimeMeasureProfiler> CompletedCallback { get; set; }
Property Value
Type | Description |
---|---|
System.Action<TimeMeasureProfiler> | A System.Action<T>. The default value is |
Methods
| Improve this DocWithAction(Action, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static TimeMeasureProfiler WithAction(Action action, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Action | action | The delegate to time measure. |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
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.
Declaration
public static TimeMeasureProfiler WithAction<T>(Action<T> action, T arg, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T> | action | The delegate to time measure. |
T | arg | The parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T | The type of the parameter of the |
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.
Declaration
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
Type | Name | Description |
---|---|---|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
T9 | arg9 | The ninth parameter of the |
T10 | arg10 | The tenth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
T9 | The type of the ninth parameter of the |
T10 | The type of the tenth parameter of the |
WithAction<T1, T2>(Action<T1, T2>, T1, T2, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static TimeMeasureProfiler WithAction<T1, T2>(Action<T1, T2> action, T1 arg1, T2 arg2, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T1, T2> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
WithAction<T1, T2, T3>(Action<T1, T2, T3>, T1, T2, T3, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static TimeMeasureProfiler WithAction<T1, T2, T3>(Action<T1, T2, T3> action, T1 arg1, T2 arg2, T3 arg3, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T1, T2, T3> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
WithAction<T1, T2, T3, T4>(Action<T1, T2, T3, T4>, T1, T2, T3, T4, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
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
Type | Name | Description |
---|---|---|
System.Action<T1, T2, T3, T4> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
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.
Declaration
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
Type | Name | Description |
---|---|---|
System.Action<T1, T2, T3, T4, T5> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
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.
Declaration
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
Type | Name | Description |
---|---|---|
System.Action<T1, T2, T3, T4, T5, T6> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
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.
Declaration
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
Type | Name | Description |
---|---|---|
System.Action<T1, T2, T3, T4, T5, T6, T7> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
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.
Declaration
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
Type | Name | Description |
---|---|---|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
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.
Declaration
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
Type | Name | Description |
---|---|---|
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
T9 | arg9 | The ninth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
T9 | The type of the ninth parameter of the |
WithActionAsync(Func<Task>, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static Task<TimeMeasureProfiler> WithActionAsync(Func<Task> action, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Threading.Tasks.Task> | action | The delegate to time measure. |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler> | A TimeMeasureProfiler with the result of the time measuring. |
WithActionAsync<T>(Func<T, Task>, T, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static Task<TimeMeasureProfiler> WithActionAsync<T>(Func<T, Task> action, T arg, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T, System.Threading.Tasks.Task> | action | The delegate to time measure. |
T | arg | The parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler> | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T | The type of the parameter of the |
WithActionAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Task>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static Task<TimeMeasureProfiler> WithActionAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Task> 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
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, System.Threading.Tasks.Task> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
T9 | arg9 | The ninth parameter of the |
T10 | arg10 | The tenth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler> | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
T9 | The type of the ninth parameter of the |
T10 | The type of the tenth parameter of the |
WithActionAsync<T1, T2>(Func<T1, T2, Task>, T1, T2, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static Task<TimeMeasureProfiler> WithActionAsync<T1, T2>(Func<T1, T2, Task> action, T1 arg1, T2 arg2, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, System.Threading.Tasks.Task> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler> | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
WithActionAsync<T1, T2, T3>(Func<T1, T2, T3, Task>, T1, T2, T3, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static Task<TimeMeasureProfiler> WithActionAsync<T1, T2, T3>(Func<T1, T2, T3, Task> action, T1 arg1, T2 arg2, T3 arg3, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, System.Threading.Tasks.Task> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler> | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
WithActionAsync<T1, T2, T3, T4>(Func<T1, T2, T3, T4, Task>, T1, T2, T3, T4, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static Task<TimeMeasureProfiler> WithActionAsync<T1, T2, T3, T4>(Func<T1, T2, T3, T4, Task> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, System.Threading.Tasks.Task> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler> | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
WithActionAsync<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, Task>, T1, T2, T3, T4, T5, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static Task<TimeMeasureProfiler> WithActionAsync<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5, Task> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, System.Threading.Tasks.Task> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler> | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
WithActionAsync<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, Task>, T1, T2, T3, T4, T5, T6, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static Task<TimeMeasureProfiler> WithActionAsync<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6, Task> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, System.Threading.Tasks.Task> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler> | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
WithActionAsync<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, Task>, T1, T2, T3, T4, T5, T6, T7, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static Task<TimeMeasureProfiler> WithActionAsync<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7, Task> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, System.Threading.Tasks.Task> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler> | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
WithActionAsync<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, Task>, T1, T2, T3, T4, T5, T6, T7, T8, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static Task<TimeMeasureProfiler> WithActionAsync<T1, T2, T3, T4, T5, T6, T7, T8>(Func<T1, T2, T3, T4, T5, T6, T7, T8, Task> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, System.Threading.Tasks.Task> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler> | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
WithActionAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, Task>, T1, T2, T3, T4, T5, T6, T7, T8, T9, Action<TimeMeasureOptions>)
Profile and time measure the specified action
delegate.
Declaration
public static Task<TimeMeasureProfiler> WithActionAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, Task> action, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, System.Threading.Tasks.Task> | action | The delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
T9 | arg9 | The ninth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler> | A TimeMeasureProfiler with the result of the time measuring. |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
T9 | The type of the ninth parameter of the |
WithFunc<TResult>(Func<TResult>, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static TimeMeasureProfiler<TResult> WithFunc<TResult>(Func<TResult> function, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<TResult> | function | The function delegate to time measure. |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler<TResult> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
TResult | The type of the return value of the |
WithFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static TimeMeasureProfiler<TResult> WithFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
T9 | arg9 | The ninth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler<TResult> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
T9 | The type of the ninth parameter of the |
TResult | The type of the return value of the |
WithFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static TimeMeasureProfiler<TResult> WithFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult> function, 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
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
T9 | arg9 | The ninth parameter of the |
T10 | arg10 | The tenth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler<TResult> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
T9 | The type of the ninth parameter of the |
T10 | The type of the tenth parameter of the |
TResult | The type of the return value of the |
WithFunc<T, TResult>(Func<T, TResult>, T, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static TimeMeasureProfiler<TResult> WithFunc<T, TResult>(Func<T, TResult> function, T arg, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T, TResult> | function | The function delegate to time measure. |
T | arg | The parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler<TResult> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T | The type of the parameter of the |
TResult | The type of the return value of the |
WithFunc<T1, T2, TResult>(Func<T1, T2, TResult>, T1, T2, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static TimeMeasureProfiler<TResult> WithFunc<T1, T2, TResult>(Func<T1, T2, TResult> function, T1 arg1, T2 arg2, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, TResult> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler<TResult> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
TResult | The type of the return value of the |
WithFunc<T1, T2, T3, TResult>(Func<T1, T2, T3, TResult>, T1, T2, T3, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static TimeMeasureProfiler<TResult> WithFunc<T1, T2, T3, TResult>(Func<T1, T2, T3, TResult> function, T1 arg1, T2 arg2, T3 arg3, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, TResult> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler<TResult> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
TResult | The type of the return value of the |
WithFunc<T1, T2, T3, T4, TResult>(Func<T1, T2, T3, T4, TResult>, T1, T2, T3, T4, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static TimeMeasureProfiler<TResult> WithFunc<T1, T2, T3, T4, TResult>(Func<T1, T2, T3, T4, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, TResult> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler<TResult> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
TResult | The type of the return value of the |
WithFunc<T1, T2, T3, T4, T5, TResult>(Func<T1, T2, T3, T4, T5, TResult>, T1, T2, T3, T4, T5, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static TimeMeasureProfiler<TResult> WithFunc<T1, T2, T3, T4, T5, TResult>(Func<T1, T2, T3, T4, T5, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, TResult> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler<TResult> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
TResult | The type of the return value of the |
WithFunc<T1, T2, T3, T4, T5, T6, TResult>(Func<T1, T2, T3, T4, T5, T6, TResult>, T1, T2, T3, T4, T5, T6, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static TimeMeasureProfiler<TResult> WithFunc<T1, T2, T3, T4, T5, T6, TResult>(Func<T1, T2, T3, T4, T5, T6, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, TResult> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler<TResult> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
TResult | The type of the return value of the |
WithFunc<T1, T2, T3, T4, T5, T6, T7, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, TResult>, T1, T2, T3, T4, T5, T6, T7, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static TimeMeasureProfiler<TResult> WithFunc<T1, T2, T3, T4, T5, T6, T7, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, TResult> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler<TResult> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
TResult | The type of the return value of the |
WithFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static TimeMeasureProfiler<TResult> WithFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
TimeMeasureProfiler<TResult> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
TResult | The type of the return value of the |
WithFuncAsync<TResult>(Func<Task<TResult>>, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static Task<TimeMeasureProfiler<TResult>> WithFuncAsync<TResult>(Func<Task<TResult>> function, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Threading.Tasks.Task<TResult>> | function | The function delegate to time measure. |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler<TResult>> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
TResult | The type of the return value of the |
WithFuncAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static Task<TimeMeasureProfiler<TResult>> WithFuncAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, Task<TResult>> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, System.Threading.Tasks.Task<TResult>> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
T9 | arg9 | The ninth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler<TResult>> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
T9 | The type of the ninth parameter of the |
TResult | The type of the return value of the |
WithFuncAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static Task<TimeMeasureProfiler<TResult>> WithFuncAsync<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Task<TResult>> function, 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
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, System.Threading.Tasks.Task<TResult>> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
T9 | arg9 | The ninth parameter of the |
T10 | arg10 | The tenth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler<TResult>> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
T9 | The type of the ninth parameter of the |
T10 | The type of the tenth parameter of the |
TResult | The type of the return value of the |
WithFuncAsync<T, TResult>(Func<T, Task<TResult>>, T, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static Task<TimeMeasureProfiler<TResult>> WithFuncAsync<T, TResult>(Func<T, Task<TResult>> function, T arg, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T, System.Threading.Tasks.Task<TResult>> | function | The function delegate to time measure. |
T | arg | The parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler<TResult>> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T | The type of the parameter of the |
TResult | The type of the return value of the |
WithFuncAsync<T1, T2, TResult>(Func<T1, T2, Task<TResult>>, T1, T2, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static Task<TimeMeasureProfiler<TResult>> WithFuncAsync<T1, T2, TResult>(Func<T1, T2, Task<TResult>> function, T1 arg1, T2 arg2, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, System.Threading.Tasks.Task<TResult>> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler<TResult>> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
TResult | The type of the return value of the |
WithFuncAsync<T1, T2, T3, TResult>(Func<T1, T2, T3, Task<TResult>>, T1, T2, T3, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static Task<TimeMeasureProfiler<TResult>> WithFuncAsync<T1, T2, T3, TResult>(Func<T1, T2, T3, Task<TResult>> function, T1 arg1, T2 arg2, T3 arg3, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, System.Threading.Tasks.Task<TResult>> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler<TResult>> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
TResult | The type of the return value of the |
WithFuncAsync<T1, T2, T3, T4, TResult>(Func<T1, T2, T3, T4, Task<TResult>>, T1, T2, T3, T4, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static Task<TimeMeasureProfiler<TResult>> WithFuncAsync<T1, T2, T3, T4, TResult>(Func<T1, T2, T3, T4, Task<TResult>> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, System.Threading.Tasks.Task<TResult>> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler<TResult>> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
TResult | The type of the return value of the |
WithFuncAsync<T1, T2, T3, T4, T5, TResult>(Func<T1, T2, T3, T4, T5, Task<TResult>>, T1, T2, T3, T4, T5, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static Task<TimeMeasureProfiler<TResult>> WithFuncAsync<T1, T2, T3, T4, T5, TResult>(Func<T1, T2, T3, T4, T5, Task<TResult>> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, System.Threading.Tasks.Task<TResult>> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler<TResult>> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
TResult | The type of the return value of the |
WithFuncAsync<T1, T2, T3, T4, T5, T6, TResult>(Func<T1, T2, T3, T4, T5, T6, Task<TResult>>, T1, T2, T3, T4, T5, T6, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static Task<TimeMeasureProfiler<TResult>> WithFuncAsync<T1, T2, T3, T4, T5, T6, TResult>(Func<T1, T2, T3, T4, T5, T6, Task<TResult>> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, System.Threading.Tasks.Task<TResult>> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler<TResult>> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
TResult | The type of the return value of the |
WithFuncAsync<T1, T2, T3, T4, T5, T6, T7, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static Task<TimeMeasureProfiler<TResult>> WithFuncAsync<T1, T2, T3, T4, T5, T6, T7, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, Task<TResult>> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, System.Threading.Tasks.Task<TResult>> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler<TResult>> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
TResult | The type of the return value of the |
WithFuncAsync<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, Task<TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, Action<TimeMeasureOptions>)
Profile and time measure the specified function
delegate.
Declaration
public static Task<TimeMeasureProfiler<TResult>> WithFuncAsync<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(Func<T1, T2, T3, T4, T5, T6, T7, T8, Task<TResult>> function, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, Action<TimeMeasureOptions> setup = null)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, System.Threading.Tasks.Task<TResult>> | function | The function delegate to time measure. |
T1 | arg1 | The first parameter of the |
T2 | arg2 | The second parameter of the |
T3 | arg3 | The third parameter of the |
T4 | arg4 | The fourth parameter of the |
T5 | arg5 | The fifth parameter of the |
T6 | arg6 | The sixth parameter of the |
T7 | arg7 | The seventh parameter of the |
T8 | arg8 | The eighth parameter of the |
System.Action<TimeMeasureOptions> | setup | The TimeMeasureOptions which need to be configured. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TimeMeasureProfiler<TResult>> | A TimeMeasureProfiler<TResult> with the result of the time measuring and the encapsulated |
Type Parameters
Name | Description |
---|---|
T1 | The type of the first parameter of the |
T2 | The type of the second parameter of the |
T3 | The type of the third parameter of the |
T4 | The type of the fourth parameter of the |
T5 | The type of the fifth parameter of the |
T6 | The type of the sixth parameter of the |
T7 | The type of the seventh parameter of the |
T8 | The type of the eighth parameter of the |
TResult | The type of the return value of the |