C# Class Gendarme.MsBuild.EnhancedIgnoreFileList

Inheritance: Gendarme.Framework.BasicIgnoreList
Show file Open project: sillsdev/Gendarme.MsBuild Class Usage Examples

Public Methods

Method Description
EnhancedIgnoreFileList ( IRunner runner, string fileName, bool fAutoUpdateIgnores ) : System
UpdateIgnores ( Collection defects ) : void

Updates the file that lists ignored defects

Go through the file(s) with ignored defects. Anything listed that is no longer reported as a defect in defects is commented out.

Protected Methods

Method Description
UpdateIgnoreFile ( string fileName, List ignoreLineNumbers ) : void
UpdateIgnoreList ( Collection defects ) : void

Private Methods

Method Description
Add ( IDictionary list, string rule, string target ) : void
AddList ( IMetadataTokenProvider metadata, IEnumerable rules ) : void
Parse ( ) : void
ProcessLine ( string line ) : void
Push ( string fileName ) : void
Resolve ( ) : void
TearDown ( ) : void

Method Details

EnhancedIgnoreFileList() public method

public EnhancedIgnoreFileList ( IRunner runner, string fileName, bool fAutoUpdateIgnores ) : System
runner IRunner
fileName string
fAutoUpdateIgnores bool
return System

UpdateIgnoreFile() protected method

protected UpdateIgnoreFile ( string fileName, List ignoreLineNumbers ) : void
fileName string
ignoreLineNumbers List
return void

UpdateIgnoreList() protected method

protected UpdateIgnoreList ( Collection defects ) : void
defects Collection
return void

UpdateIgnores() public method

Updates the file that lists ignored defects
Go through the file(s) with ignored defects. Anything listed that is no longer reported as a defect in defects is commented out.
public UpdateIgnores ( Collection defects ) : void
defects Collection Detected defects from a run without applying ignored list.
return void