AnalysisRule Class

Represents analysis rule.
Inheritance Hierarchy
SystemObject
  Ubitsoft.SqlEnlight.Model.AnalysisAnalysisRule

Namespace:
 Ubitsoft.SqlEnlight.Model.Analysis
Assembly:
 Ubitsoft.SqlEnlight.Model (in Ubitsoft.SqlEnlight.Model.dll) Version: 2.0.2.76

Syntax
[SerializableAttribute]
public class AnalysisRule : ICloneable, 
	IAnalysisRule

The AnalysisRule type exposes the following members.

Constructors
  Name Description
Public method AnalysisRule
Initializes a new instance of the AnalysisRule class.
Public method AnalysisRule(AnalysisRule)
Initializes a new instance of the AnalysisRule class using another instance as a source.
Public method AnalysisRule(String, String, String, AnalysisRuleSeverityLevel, AnalysisRuleScope)
Initializes a new instance of the AnalysisRule class.
Public method AnalysisRule(String, String, String, AnalysisRuleType, AnalysisRuleSeverityLevel)
Initializes a new instance of the AnalysisRule class.

Top

Properties
  Name Description
Public property AdditionalInfos
Additional information or references for the rule.
Public property Author
Author of the analysis rule.
Public property CustomMessageExpression
Public property CustomMessageExpressionCDATA
Gets or sets the rule expression CDATA.
Public property Description
Rule description.
Public property DescriptionCDATA
Gets or sets the description.
Public property EffortBase
Duration to make basic analysis in minutes.
Public property EffortGapMultiplier
Duration to fix one point of complexity in minutes.
Public property FixAfterExpression
Public property FixAfterExpressionCDATA
Gets or sets the rule fix expression CDATA.
Public property FixAfterPriority
Public property FixBeforeExpression
Public property FixBeforeExpressionCDATA
Gets or sets the rule fix expression CDATA.
Public property FixBeforePriority
Public property FixReplaceExpression
Public property FixReplaceExpressionCDATA
Gets or sets the rule fix expression CDATA.
Public property FixReplacePriority
Public property FixUsingScript
Public property HowToApproach
Public property HowToFix
Rule description.
Public property HowToFixCDATA
Public property LastUpdated
The date of the last modification made to the rule.
Public property Message
Default informational message generated by the rule.
Public property Name
Unique rule name.
Public property ParameterCollection
Gets or sets the parameter collection.
Public property Parameters
A dictionary of rule parameters.
Public property Priority
Public property RequireRuleParameters
Specifies whether to require all parameters to be set by the user before rule is applied or to use the default values.
Public property RequiresAnalysisContext
Public property RequiresSqlConnection
Public property RuleExpression
Rule XSLT expression.
Public property RuleExpressionCDATA
Gets or sets the rule expression CDATA.
Public property Scope
Rule scope. See AnalysisRuleScope.
Public property SeverityLevel
Rule severity level.See AnalysisRuleSeverityLevel.
Public property SqlModuleTypes
Public property TestScript
SQL script that can be used for designing and testing the rule expression.
Public property TestScriptCDATA
Gets or sets the test script.
Public property Type
Rule type. See AnalysisRuleType.

Top

Methods
  Name Description
Public method Clone
Creates a new AnalysisRule clone of the current rule.
Public method Equals
Determines whether the specified AnalysisRule is equal to this instance.
Public method ToString
Returns a String that represents this instance.

(Overrides ObjectToString.)

Top

Remarks
The type is not supposed for serialization. Use AnalysisRule instead.
See Also