C# Class Gendarme.Framework.Rule

Most rules should be able to inherit from Rule and implement one of the IAssemblyRule, ITypeRule or IMethodRule and override the Check[Assembly|Type|Method] method.
Inheritance: IRule
Exibir arquivo Open project: remobjects/mono-tools

Private Properties

Property Type Description
GetCustomAttribute object

Public Methods

Method Description
Initialize ( IRunner runner ) : void

Initialize the rule. This is where rule can do it's heavy initialization since the assemblies to be analyzed are already known (and accessible thru the runner parameter).

TearDown ( ) : void

Private Methods

Method Description
GetCustomAttribute ( Type t ) : object

Method Details

Initialize() public method

Initialize the rule. This is where rule can do it's heavy initialization since the assemblies to be analyzed are already known (and accessible thru the runner parameter).
public Initialize ( IRunner runner ) : void
runner IRunner The runner that will execute this rule.
return void

TearDown() public method

public TearDown ( ) : void
return void