NDepend.API Documentation
ToSeconds Method
NDepend.Helpers Namespace > ExtensionMethodsTimeSpan Class : ToSeconds Method
Gets a System.TimeSpan value, with total number of seconds equals to nbSeconds.
Overload List
OverloadDescription
Gets a System.TimeSpan value, with total number of seconds equals to nbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nullableNbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nullableNbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nullableNbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nullableNbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nullableNbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nullableNbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nullableNbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nbSeconds.  
Gets a System.TimeSpan value, with total number of seconds equals to nullableNbSeconds.  
Gets a System.TimeSpan value, with total floating number of seconds equals to floating value nbSecondsFloat.  
Gets a System.TimeSpan value, with total floating number of seconds equals to floating value nullableNbSecondsFloat.  
Gets a System.TimeSpan value, with total floating number of seconds equals to floating value nbSecondsDecimal.  
Gets a System.TimeSpan value, with total floating number of seconds equals to floating value nullableNbSecondsDecimal.  
Gets a System.TimeSpan value, with total double number of seconds equals to double value nbSecondsDouble.  
Gets a System.TimeSpan value, with total floating number of seconds equals to floating value nullableNbSecondsDouble.  
Requirements

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

See Also

Reference

ExtensionMethodsTimeSpan Class
ExtensionMethodsTimeSpan Members