NDepend.API Documentation
IUsed Interface Members
Methods 

NDepend.CodeModel Namespace : IUsed Interface

The following tables list the members exposed by IUsed.

Public Methods
 NameDescription
 MethodReturns true if this code element is used by codeElementUser, otherwise returns false.  
 MethodReturns true if this code element is used by assemblyUser, otherwise returns false.  
 MethodReturns true if this code element is used by eventUser, otherwise returns false.  
 MethodReturns true if this code element is used by methodUser, otherwise returns false.  
 MethodReturns true if this code element is used by namespaceUser, otherwise returns false.  
 MethodReturns true if this code element is used by propertyUser, otherwise returns false.  
 MethodReturns true if this code element is used by typeUser, otherwise returns false.  
Top
Extension Methods
 NameDescription
Public Extension MethodReturns 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 Extension MethodReturns 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 Extension MethodReturns 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 Extension MethodReturns true if this usedCodeElement is directly used by a NDepend.CodeModel.IAssembly whose NDepend.CodeModel.ICodeElement.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 Extension MethodReturns 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 Extension MethodReturns 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 Extension MethodReturns true if this usedCodeElement is directly used by a NDepend.CodeModel.INamespace whose NDepend.CodeModel.ICodeElement.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 Extension MethodReturns 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 Extension MethodReturns 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.
Top
See Also

Reference

IUsed Interface
NDepend.CodeModel Namespace
IUser Interface