NDepend.API Documentation
ToHours Method
NDepend.Helpers Namespace > ExtensionMethodsTimeSpan Class : ToHours Method
Gets a System.TimeSpan value, with total number of hours equals to nbHours.
Overload List
OverloadDescription
Gets a System.TimeSpan value, with total number of hours equals to nbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nullableNbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nullableNbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nullableNbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nullableNbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nullableNbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nullableNbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nullableNbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nbHours.  
Gets a System.TimeSpan value, with total number of hours equals to nullableNbHours.  
Gets a System.TimeSpan value, with total floating number of hours equals to floating value nbHoursFloat.  
Gets a System.TimeSpan value, with total floating number of hours equals to floating value nullableNbHoursFloat.  
Gets a System.TimeSpan value, with total floating number of hours equals to floating value nbHoursDecimal.  
Gets a System.TimeSpan value, with total floating number of hours equals to floating value nullableNbHoursDecimal.  
Gets a System.TimeSpan value, with total double number of hours equals to double value nbHoursDouble.  
Gets a System.TimeSpan value, with total floating number of hours equals to floating value nullableNbHoursDouble.  
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