NDepend.API Documentation
ISourceFile Interface Members
Properties 

NDepend.CodeModel Namespace : ISourceFile Interface

The following tables list the members exposed by ISourceFile.

Public Properties
 NameDescription
 Property Get a sequence of code elements contained in this source file.  
 Property Gets a boolean value that indicates if coverage data is available for at least one type declared this source file.  
 PropertyGets a string that contains this absolute source file's parent directory path, like "C:\Dir" for the source file "C:\Dir\FileName.cs".  
 PropertyGets a string that contains this source file name, like "FileName.cs" for the source file "C:\Dir\FileName.cs".  
 PropertyGets a string that contains this source file name extension, like ".cs" for the source file "C:\Dir\FileName.cs".  
 PropertyGets a string that contains this source file name without extension, like "FileName" for the source file "C:\Dir\FileName.cs".  
 Property Gets this absolute source file path object.  
 PropertyGets a string that contains this absolute source file path, like "C:\Dir\FileName.cs".  
 Property Get the id of the source file.  
 Property Gets this source file language, inferred from the source file extension.  
 Property Get the number of characters in this source file.  
 Property Gets a numeric nullable value counting the number of IL instructions of type(s) declared in this source file.  
 Property Get the number of lines in this source file.  
 PropertyGets a numeric nullable value counting the number of logical lines of code of type(s) declared in this source file.  
 PropertyGets a numeric nullable value in the range [0,this.NbLinesOfCode] counting the number of lines of code of types declared this source file, covered by tests.  
 PropertyGets a numeric nullable value in the range [0,this.NbLinesOfCode] counting the number of lines of code of types declared this source file, not covered by tests.  
 Property Get the number of lines containing comment in this source file.  
 Property Gets a numeric float nullable value in the range [0f,100f] assessing the coverage percentage of types declared this source file.  
Top
See Also

Reference

ISourceFile Interface
NDepend.CodeModel Namespace