NDepend.API Documentation
ToMilliseconds(Int16) Method
NDepend.Helpers Namespace > ExtensionMethodsTimeSpan Class > ToMilliseconds Method : ToMilliseconds(Int16) Method
The number of milli-seconds.
Gets a System.TimeSpan value, with total number of milli-seconds equals to nbMilliseconds.
Syntax
[Extension()]
public static TimeSpan ToMilliseconds( 
   short nbMilliseconds
)

Parameters

nbMilliseconds
The number of milli-seconds.
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
Overload List