Header Text Coming Soon! You can Contact Us below anytime!
Assembly: SpiderMaster.Net (in SpiderMaster.Net.dll) Version: 0.0.6.0 (0.0.6.0)
[This is preliminary documentation and is subject to change.]
Calculates the time it takes to run a given Action with three parameters.
Namespace:
SpiderMasterAssembly: SpiderMaster.Net (in SpiderMaster.Net.dll) Version: 0.0.6.0 (0.0.6.0)
Syntax
| C# | Visual Basic | Visual C++ |
<ExtensionAttribute> _ Public Shared Function Time(Of T1, T2, T3) ( _ value As Action(Of T1, T2, T3), _ arg1 As T1, _ arg2 As T2, _ arg3 As T3 _ ) As TimeSpan
[ExtensionAttribute] public: generic<typename T1, typename T2, typename T3> static TimeSpan Time( Action<T1, T2, T3>^ value, T1 arg1, T2 arg2, T3 arg3 )
Parameters
- arg1
- T1
The first parameter to value.
- arg2
- T2
The second parameter to value.
- arg3
- T3
The third parameter to value.
Type Parameters
- T1
- The type of the first parameter to value.
- T2
- The type of the second parameter to value.
- T3
- The type of the third parameter to value.
Return Value
A TimeSpan object that contains the time it took to run value.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Action<(Of <(<'T1, T2, T3>)>)>. When you use instance method syntax to call this method, omit the first parameter.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | Thrown if value is null. |