NDepend.API Documentation
ExtensionMethodsTimeSpan Class Methods


NDepend.Helpers Namespace : ExtensionMethodsTimeSpan Class

For a list of all members of this type, see ExtensionMethodsTimeSpan members.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Overloaded. Gets a System.TimeSpan value, with total number of days equals to nbDays.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Gets a System.TimeSpan value, with total number of hours equals to nbHours.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Gets a System.TimeSpan value, with total number of milli-seconds equals to nbMilliseconds.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Gets a System.TimeSpan value, with total number of minutes equals to nbMinutes.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Gets a System.TimeSpan value, with total number of seconds equals to nbSeconds.  
Public Methodstatic (Shared in Visual Basic)Gets duration.TotalYears multiplied by 12 months.  
Public Methodstatic (Shared in Visual Basic)Gets duration.System.TimeSpan.TotalDays divided by 365 days.  
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded. Gets an enumerable object that contains first element and then elements of elements, in this order.
Public Extension MethodOverloaded. Returns true if this item equals item1 or item2.
Public Extension MethodReturns the newer version of this codeElement object. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.NewerVersion<T> must be called instead.
Public Extension MethodReturns the older version of this codeElement object. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.OlderVersion<T> must be called instead.
Public Extension MethodGets an enumerable object that contains only the single element element.
Public Extension MethodIf obj is a numeric primitive type, returns its value converted as double. else returns null.
Top
See Also

Reference

ExtensionMethodsTimeSpan Class
NDepend.Helpers Namespace