NDepend.API Documentation
ExtensionMethodsSequenceUsage Class Members
Methods 


NDepend.CodeModel Namespace : ExtensionMethodsSequenceUsage Class

The following tables list the members exposed by ExtensionMethodsSequenceUsage.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Returns a ICodeMetric<TCodeElement,TNumeric> object whose DefinitionDomain is a sub-sequence of this sequence methods, containing only methods that directly or indirectly assign any field in fieldsAssigned. The metric value for each method in DefinitionDomain is equal to the smallest depth of usage of any field assigned.  
Public Methodstatic (Shared in Visual Basic)Returns a ICodeMetric<TCodeElement,TNumeric> object whose DefinitionDomain is a sub-sequence of this sequence methods, containing only methods that directly or indirectly assign fieldAssigned. The metric value for each method in DefinitionDomain is equal to the depth of usage of the field.  
Public Methodstatic (Shared in Visual Basic)Returns a ICodeMetric<TCodeElement,TNumeric> object whose DefinitionDomain is a sub-sequence of this sequence methods, containing only methods that directly or indirectly call a constructor of typeCreated. The metric value for each method in DefinitionDomain is equal to the smallest depth of usage of a constructor.  
Public Methodstatic (Shared in Visual Basic)Returns a ICodeMetric<TCodeElement,TNumeric> object whose DefinitionDomain is a sub-sequence of this sequence methods, containing only methods that directly or indirectly call a constructor of a type in typesCreated. The metric value for each method in DefinitionDomain is equal to the smallest depth of usage of a constructor.  
Public Methodstatic (Shared in Visual Basic)Returns a ICodeMetric<TCodeElement,TNumeric> object whose DefinitionDomain is a sub-sequence of this sequence types, containing only types that derive from typeBase. The metric value for each type in DefinitionDomain is equal to the depth of inheritance relative to typeBase.  
Public Methodstatic (Shared in Visual Basic)Returns a ICodeMetric<TCodeElement,TNumeric> object whose DefinitionDomain is a sub-sequence of this sequence types, containing only types that derive from any type in typesBase. The metric value for each type in DefinitionDomain is equal to the smallest depth of inheritance relative to any type in typesBase.  
Public Methodstatic (Shared in Visual Basic)Returns a ICodeMetric<TCodeElement,TNumeric> object whose DefinitionDomain is a sub-sequence of this sequence codeElementsUsed, containing only code elements directly or indirectly used by codeElementUser. The metric value for each code element in DefinitionDomain is equal to the depth of usage.  
Public Methodstatic (Shared in Visual Basic)Returns a ICodeMetric<TCodeElement,TNumeric> object whose DefinitionDomain is a sub-sequence of this sequence codeElementsUsed, containing only code elements directly or indirectly used by any code element in codeElementsUser. The metric value for each code element in DefinitionDomain is equal to the depth of usage.  
Public Methodstatic (Shared in Visual Basic)Returns a ICodeMetric<TCodeElement,TNumeric> object whose DefinitionDomain is a sub-sequence of this sequence codeElementsUser, containing only code elements directly or indirectly using codeElementUsed. The metric value for each code element in DefinitionDomain is equal to the depth of usage.  
Public Methodstatic (Shared in Visual Basic)Returns a ICodeMetric<TCodeElement,TNumeric> object whose DefinitionDomain is a sub-sequence of this sequence codeElementsUser, containing only code elements directly or indirectly using any code element in codeElementsUsed. The metric value for each code element in DefinitionDomain is equal to the depth of usage.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsUsed, containing only code elements directly or indirectly used by codeElementUser .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsUsed, containing only code elements directly or indirectly used by any code element in the sequence codeElementsUser .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsUser, containing only code elements directly or indirectly using codeElementUsed .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsUser, containing only code elements directly or indirectly used by any code element in the sequence codeElementsUsed .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsTagged, containing only code elements tagged with all attribute types in typesAttribute .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsTagged, containing only code elements tagged with any attribute type in typesAttribute .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsTagged, containing only code elements tagged with typeAttribute .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence methods, containing only methods that assigns any field in fieldsAssigned.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence methods, containing only methods that assigns the field fieldAssigned.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence methods, containing only methods that calls a constructor of typeCreated.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence methods, containing only methods that calls a constructor of any type in typesCreated.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence types, containing only types that derive from typeBase .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence types, containing only types that derive from any type in typesBase .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence types, containing only types that directly derive from typeBase .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence types, containing only types that directly derive from any type in typesBase .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence types, containing only types that implement, or interfaces that extend, interface.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence types, containing only types that implement, or interfaces that extend, all interfaces in interfaces.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence types, containing only types that implement, or interfaces that extend, any interface in interfaces.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence methods, containing only methods that assigns directly or indirectly any field in fieldsAssigned.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence methods, containing only methods that directly or indirectly calls a constructor of any type in typesCreated.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsUsed, containing only code elements directly used by codeElementUser .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsUsed, containing only code elements directly used by all code elements in the sequence codeElementsUser .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsUsed, containing only code elements directly used by any code element in the sequence codeElementsUser .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsUser, containing only code elements directly using codeElementUsed .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsUser, containing only code elements directly using all code elements in the sequence codeElementsUsed .  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence codeElementsUser, containing only code elements directly used by any code element in the sequence codeElementsUsed.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence fields, containing only fields that have fieldType for field type.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence fields, containing only fields that have any type in fieldTypes for field type.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence methods, containing only methods that have returnType for return type.  
Public Methodstatic (Shared in Visual Basic)Returns a sub-sequence of this sequence methods, containing only methods that have any type in returnTypes for return type.  
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

ExtensionMethodsSequenceUsage Class
NDepend.CodeModel Namespace