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.
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 ( _ value As Action _ ) As TimeSpan
[ExtensionAttribute] public: static TimeSpan Time( Action^ 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. When you use instance method syntax to call this method, omit the first parameter.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | Thrown if value is null. |