NDepend.API Documentation
ToSeconds(UInt32) Method
NDepend.Helpers Namespace > ExtensionMethodsTimeSpan Class > ToSeconds Method : ToSeconds(UInt32) Method
The number of seconds.
Gets a System.TimeSpan value, with total number of seconds equals to nbSeconds.
Syntax
[Extension()]
public static TimeSpan ToSeconds( 
   uint nbSeconds
)

Parameters

nbSeconds
The number of seconds.
Requirements

Target Platforms: Windows 11, 10, 8, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed

See Also

Reference

ExtensionMethodsTimeSpan Class
ExtensionMethodsTimeSpan Members
Overload List