NDepend.API Documentation
ExtensionMethodsCQLinqDependency Class Methods


NDepend.Reserved.CQLinq Namespace : ExtensionMethodsCQLinqDependency Class

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

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Append the prefix "OPTIONAL:" to codeElementName to precise to a method such as NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsedBy(NDepend.CodeModel.IUsed,System.String) or NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsing(NDepend.CodeModel.IUser,System.String), that takes a code element name string as argument, that if no code element is matched, no exception should be sent.  
Public Methodstatic (Shared in Visual Basic)Returns true if method is assigning a field whose NDepend.CodeModel.ICodeElement.FullName is assignedFieldFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the property getter NDepend.CodeModel.IMethod.NDepend.CodeModel.IMethod.AssignField must be used instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if method is calling a constructor of a type, whose NDepend.CodeModel.ICodeElement.FullName is createdTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IMethod.NDepend.CodeModel.IMethod.CreateA must be used instead.  
Public Methodstatic (Shared in Visual Basic)Returns a non-null depth value, if method is assigning, directly or indirectly, a field whose NDepend.CodeModel.ICodeElement.FullName is assignedFieldFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.DepthOfAssignAnyFields must be used instead.  
Public Methodstatic (Shared in Visual Basic)Returns a non-null depth value, if method is creating, directly or indirectly, an instance of a type, whose NDepend.CodeModel.ICodeElement.FullName is createdTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.DepthOfCreateAny must be used instead.  
Public Methodstatic (Shared in Visual Basic)Returns a non-null depth of inheritance value, if type is, directly or indirectly, deriving from a class whose NDepend.CodeModel.ICodeElement.FullName is baseClassFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IType.NDepend.CodeModel.IType.DepthOfDeriveFrom must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns a non-null depth of usage value, if usedCodeElement is directly or indirectly used by a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is userCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.DepthOfIsUsedByAny<TUsed,TUser> must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns a non-null depth of usage value, if userCodeElement is directly or indirectly using a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is usedCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.DepthOfIsUsingAny<TUser,TUsed> must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if type is, directly or indirectly, deriving from a class whose NDepend.CodeModel.ICodeElement.FullName is baseClassFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IType.NDepend.CodeModel.IType.DeriveFrom must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if field has a field type whose NDepend.CodeModel.ICodeElement.FullName is fieldTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the property getter NDepend.CodeModel.IField.NDepend.CodeModel.IField.FieldType must be used instead.  
Public Methodstatic (Shared in Visual Basic)Append the prefix "FROM_ASM{assemblyName}" to codeElementName to restreint code element search by name only to a certain assembly.  
Public Methodstatic (Shared in Visual Basic)Returns true if this attributeTargetCodeElement is directly tagged by a attribute class whose NDepend.CodeModel.ICodeElement.FullName is attributeTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IAttributeTarget.NDepend.CodeModel.IAttributeTarget.HasAttribute must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if type implements an interface whose NDepend.CodeModel.ICodeElement.FullName is interfaceFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IType.NDepend.CodeModel.IType.Implement must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if method is assigning, directly or indirectly, a field whose NDepend.CodeModel.ICodeElement.FullName is assignedFieldFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.ThatIndirectlyAssignAnyFields must be used instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if method is calling, directly or indirectly, a constructor of a type, whose NDepend.CodeModel.ICodeElement.FullName is createdTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.ThatIndirectlyCreateAny must be used instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if usedCodeElement is, directly or indirectly, used by a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is userCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.IndirectlyUsedByAny<TUsed,TUser> must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if userCodeElement is, directly or indirectly, using a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is usedCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the extension method NDepend.CodeModel.ExtensionMethodsSequenceUsage.NDepend.CodeModel.ExtensionMethodsSequenceUsage.IndirectlyUsingAny<TUser,TUsed> must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this usedCodeElement is directly used by a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is userCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedBy must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this usedCodeElement is directly used by a NDepend.CodeModel.IAssembly whose Name is userAssemblyName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByAssembly must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this usedCodeElement is directly used by a NDepend.CodeModel.IEvent whose NDepend.CodeModel.ICodeElement.FullName is userEventFullName. This event can only be called in a ICQLinqExecutionContext, otherwise the event NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByEvent must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this usedCodeElement is directly used by a NDepend.CodeModel.IMethod whose NDepend.CodeModel.ICodeElement.FullName is userMethodFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByMethod must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this usedCodeElement is directly used by a NDepend.CodeModel.INamespace whose Name is userNamespaceName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByNamespace must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this usedCodeElement is directly used by a NDepend.CodeModel.IProperty whose NDepend.CodeModel.ICodeElement.FullName is userPropertyFullName. This property can only be called in a ICQLinqExecutionContext, otherwise the property NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByProperty must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this usedCodeElement is directly used by a NDepend.CodeModel.IType whose NDepend.CodeModel.ICodeElement.FullName is userTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUsed.NDepend.CodeModel.IUsed.IsUsedByType must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this userCodeElement is directly using a NDepend.CodeModel.ICodeElement whose NDepend.CodeModel.ICodeElement.FullName is usedCodeElementFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsing must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this userCodeElement is directly using a NDepend.CodeModel.IAssembly whose Name is usedAssemblyName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingAssembly must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this userCodeElement is directly using a NDepend.CodeModel.IEvent whose NDepend.CodeModel.ICodeElement.FullName is usedEventFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingEvent must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this userCodeElement is directly using a NDepend.CodeModel.IField whose NDepend.CodeModel.ICodeElement.FullName is usedFieldFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingField must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this userCodeElement is directly using a NDepend.CodeModel.IMethod whose NDepend.CodeModel.ICodeElement.FullName is usedMethodFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingMethod must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this userCodeElement is directly using a NDepend.CodeModel.INamespace whose Name is usedNamespaceName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingNamespace must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this userCodeElement is directly using a NDepend.CodeModel.IProperty whose NDepend.CodeModel.ICodeElement.FullName is usedPropertyFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingProperty must be called instead.  
Public Methodstatic (Shared in Visual Basic)Returns true if this userCodeElement is directly using a NDepend.CodeModel.IType whose NDepend.CodeModel.ICodeElement.FullName is usedTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.IUser.NDepend.CodeModel.IUser.IsUsingType must be called instead.  
Public Methodstatic (Shared in Visual Basic)Append the prefix "ASSEMBLY:" to assemblyName to precise to a method such as NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsedBy(NDepend.CodeModel.IUsed,System.String) or NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsing(NDepend.CodeModel.IUser,System.String) that takes a code element name string as argument, that only assemblies can be matched by name.  
Public Methodstatic (Shared in Visual Basic)Append the prefix "EVENT:" to eventFullName to precise to a method such as NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsedBy(NDepend.CodeModel.IUsed,System.String) or NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsing(NDepend.CodeModel.IUser,System.String) that takes a code element name string as argument, that only events can be matched by name.  
Public Methodstatic (Shared in Visual Basic)Append the prefix "FIELD:" to fieldFullName to precise to a method such as NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsedBy(NDepend.CodeModel.IUsed,System.String) or NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsing(NDepend.CodeModel.IUser,System.String) that takes a code element name string as argument, that only fields can be matched by name.  
Public Methodstatic (Shared in Visual Basic)Append the prefix "METHOD:" to methodFullName to precise to a method such as NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsedBy(NDepend.CodeModel.IUsed,System.String) or NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsing(NDepend.CodeModel.IUser,System.String) that takes a code element name string as argument, that only methods can be matched by name.  
Public Methodstatic (Shared in Visual Basic)Append the prefix "NAMESPACE:" to namespaceName to precise to a method such as NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsedBy(NDepend.CodeModel.IUsed,System.String) or NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsing(NDepend.CodeModel.IUser,System.String) that takes a code element name string as argument, that only namespaces can be matched by name.  
Public Methodstatic (Shared in Visual Basic)Append the prefix "PROPERTY:" to propertyFullName to precise to a method such as NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsedBy(NDepend.CodeModel.IUsed,System.String) or NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsing(NDepend.CodeModel.IUser,System.String) that takes a code element name string as argument, that only propertys can be matched by name.  
Public Methodstatic (Shared in Visual Basic)Append the prefix "TYPE:" to typeFullName to precise to a method such as NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsedBy(NDepend.CodeModel.IUsed,System.String) or NDepend.Reserved.CQLinq.ExtensionMethodsCQLinqDependency.IsUsing(NDepend.CodeModel.IUser,System.String) that takes a code element name string as argument, that only types can be matched by name.  
Public Methodstatic (Shared in Visual Basic)Returns true if method has a return value of a type whose NDepend.CodeModel.ICodeElement.FullName is returnTypeFullName. This method can only be called in a ICQLinqExecutionContext, otherwise the property getter NDepend.CodeModel.IMethod.NDepend.CodeModel.IMethod.ReturnType must be used 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 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

ExtensionMethodsCQLinqDependency Class
NDepend.Reserved.CQLinq Namespace