NDepend.API Documentation
DotNetRuntime Class Members
Properties  Methods 


NDepend.DotNet Namespace : DotNetRuntime Class

The following tables list the members exposed by DotNetRuntime.

Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic) The current .NET runtime kind.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)This extension method returns true if kind is .NET Core or .NET 5/6....  
Public Methodstatic (Shared in Visual Basic)This extension method returns true if kind is .NET Framework.  
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

DotNetRuntime Class
NDepend.DotNet Namespace