NDepend.API Documentation
ExtensionMethodsCQLinqCompare Class Members
Methods 


NDepend.Reserved.CQLinq Namespace : ExtensionMethodsCQLinqCompare Class

The following tables list the members exposed by ExtensionMethodsCQLinqCompare.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Returns true if this member is not tagged with System.ObsoleteAttribute in the older version of the code base, but is tagged as obsolete in the newer version of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.BecameObsolete must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if the code of this codeContainer object, has been modified. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.CodeWasChanged must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if comments of this codeContainer object, have been modified. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.CommentsWereChanged must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this codeElement object is in the newer version of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.IsInNewerBuild must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this codeElement object is in the older version of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.IsInOlderBuild must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this codeElement object is in a third-party assembly (or is a third-party assembly itself), and if it is used by the older version of the code base, but not by the newer version. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.IsNotUsedAnymore must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this codeElement object is both in the newer and older versions of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.IsPresentInBothBuilds must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this codeElementParent is a namespace or a type in a third-party assembly (or is a third-party assembly itself) and if some of its children code elements are not used anymore by the newer version of the code base, or are used by the newer version of the code base, but are not used by the older version. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.IsUsedDifferently must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this codeElement object is in a third-party assembly (or is a third-party assembly itself), and if it is used by the newer version of the code base, but not by the older version. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.IsUsedRecently must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns 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 Methodstatic (Shared in Visual Basic)Returns 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 Methodstatic (Shared in Visual Basic)Returns true if the visibility of this member has been changed. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.VisibilityWasChanged must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this codeElement object has been added and thus, is not present in the older version of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.WasAdded must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this codeElement object was changed in any way (code change, comment change, visibility change...). This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.WasChanged must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this codeElement object has been removed and thus, is not present in the newer version of the code base. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.WasRemoved must be called instead.  
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 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

ExtensionMethodsCQLinqCompare Class
NDepend.Reserved.CQLinq Namespace
ICompareContext Interface
CreateCompareContextWithOlder Method
RelyOnCompareContext Property
Compile(String,ICompareContext) Method
CompileMany(IEnumerable<String>,ICompareContext) Method
TryCompareSourceWith(ISourceDecl,ISourceDecl) Method