NDepend.API Documentation
ICodeElement Interface Properties

NDepend.CodeModel Namespace : ICodeElement Interface

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

Public Properties
 NameDescription
 PropertyGets this code element casted to IAssembly if it is an assembly, else gets null.  
 PropertyGets this code element casted to IAttributeTarget if it is a an assembly, a type, a method or a field, else gets null.  
 PropertyGets this code element casted to ICodeBase if it is a code base, else gets null.  
 PropertyGets this code element casted to ICodeContainer if it is a an assembly, a namespace, a type or a method, else gets null.  
 PropertyGets this code element casted to ICodeElementParent if it is an assembly, a namespace or a type, else gets null.  
 PropertyGets this code element casted to IEvent if it is a field, else gets null.  
 PropertyGets this code element casted to IField if it is a field, else gets null.  
 PropertyGets this code element casted to IMember if it is a method or field, else gets null.  
 PropertyGets this code element casted to IMethod if it is a method, else gets null.  
 PropertyGets this code element casted to INamespace if it is a namespace, else gets null.  
 PropertyGets this code element casted to IProperty if it is a field, else gets null.  
 PropertyGets this code element casted to IType if it is a type, else gets null.  
 PropertyGets this code element casted to IMember if it is a type, method or field, else gets null.  
 PropertyGets a string representing the full name of this code element.  
 PropertyGets a value indicating whether this code element is an assembly, and can then be safely downcasted to IAssembly.  
 PropertyGets a value indicating whether this code element is an assembly, a type, a method or a field, and can then be safely downcasted to IAttributeTarget.  
 PropertyGets a value indicating whether this code element is a code base, and can then be safely downcasted to ICodeBase.  
 PropertyGets a value indicating whether this code element is an assembly, a namespace a type or a method, and can then be safely downcasted to ICodeContainer.  
 PropertyGets a value indicating whether this code element is an assembly, a namespace or a type, and can then be safely downcasted to ICodeElementParent.  
 PropertyGets a value indicating whether this code element is an evnt, and can then be safely downcasted to IProperty.  
 PropertyGets a value indicating whether this code element is a field, and can then be safely downcasted to IField.  
 PropertyGets a value indicating whether this code element is a method or field, and can then be safely downcasted to IMember.  
 PropertyGets a value indicating whether this code element is a method, and can then be safely downcasted to IMethod.  
 PropertyGets a value indicating whether this code element is a namespace, and can then be safely downcasted to INamespace.  
 PropertyGets a value indicating whether this code element is a property, and can then be safely downcasted to IProperty.  
 PropertyGets a value indicating whether this code element is an application or a third-party code element.  
 PropertyGets a value indicating whether this code element is a third-party code element resolved from reference.  
 PropertyGets a value indicating whether this code element is a type, and can then be safely downcasted to IType.  
 PropertyGets a value indicating whether this code element is a type, method or field, and can then be safely downcasted to IMember.  
 PropertyGets a string representing the name of this code element.  
 Property Returns the code element parent of this code element.  
 PropertyGets the parent code base of this code element  
 Property Returns a sequence of code element parent of this code element.  
 Property Gets this code element simple name, without its eventual parameters signature nor its eventual generic signature not prefixed by its parent type or namespace name.  
 Property Returns one or several source file declarations of this code element. Returns an empty sequence if not SourceFileDeclAvailable.  
 PropertyGets a value indicating whether source file declaration(s) of this code element have been gathered at analysis time and is now available.  
 PropertyGets an integer identifier for this code element, unique in the scope of this ParentCodeBase.  
Top
See Also

Reference

ICodeElement Interface
NDepend.CodeModel Namespace