NDepend.API Documentation
ExtensionMethodsQuery Class Methods


NDepend.CodeQuery Namespace : ExtensionMethodsQuery Class

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

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Overloaded.  Compile this code query string against a code base.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Compile against a code base, several code queries contained in this collection of string.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Compile several code queries contained in this collection of string, with no resolving of code elements referenced by the code queries.  
Public Methodstatic (Shared in Visual Basic) Compile this code query string with no resolving of code elements referenced by the code query.  
Public Methodstatic (Shared in Visual Basic)Computes and returns the set of just-my-code code elements from this groupOfGroups CQLinq queries with a IQueryCompiled.IQueryCompiled.KindOfCodeQueryExpression equals to KindOfCodeQueryExpression.NotMyCode.  
Public Methodstatic (Shared in Visual Basic)Convert this code query compiled successfully to a CQLinq query string. This method is useful to convert a query from the CQL syntax to the CQLinq syntax.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Execute a code query compiled successfully.  
Public Methodstatic (Shared in Visual Basic)Export this queryExecutionResult to a document.  
Public Methodstatic (Shared in Visual Basic)Compute a list of ICompletionItem objects, from queryString and carretLocation.  
Public Methodstatic (Shared in Visual Basic) Get the CQLinq rules and queries execution time-out defined in Tools > Options > CodeQuery > Time-Out.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Gets issues of rule from queryExecutionSuccessResult.  
Public Methodstatic (Shared in Visual Basic)Determines this code query syntax, CQLinq or CQL, of a code query string.  
Public Methodstatic (Shared in Visual Basic)Gets a NDepend.Issue.IQualityGate object from queryExecutionSuccessResult.  
Public Methodstatic (Shared in Visual Basic)Gets a NDepend.Issue.IRule object from a IQuery object.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Returns true if this query.IsActive is true, and all its parents' groups (recursive) are also active.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Resolve all query compiled of queriesCompiledUnresolved to codeBase, by calling for each query compiled object, IQueryCompiledUnresolved.IQueryCompiledUnresolved.Resolve.  
Public Methodstatic (Shared in Visual Basic) Try extract the query description from a query string.  
Public Methodstatic (Shared in Visual Basic) Try extract the query id and explicit-id from a query string.  
Public Methodstatic (Shared in Visual Basic) Try extract the query name from a query string.  
Public Methodstatic (Shared in Visual Basic) Try extract the how-to-fix-rule explanations from a rule string.  
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

ExtensionMethodsQuery Class
NDepend.CodeQuery Namespace