C# Class ABB.Swum.SwumBuilder

Constructs the Software Word Use Model using a defined set of rules.
Afficher le fichier Open project: abb-iss/Swum.NET

Protected Properties

Свойство Type Description
Rules IEnumerable

Méthodes publiques

Méthode Description
ApplyRules ( ProgramElementNode node ) : SwumRule

Applies the rules defined within this SwumBuilder to the specified node. The first matching rule found is used to construct the SWUM.

SwumBuilder ( ) : System

Creates a new SwumBuilder with the default rule set.

SwumBuilder ( IEnumerable ruleSet ) : System

Creates a new SwumBuilder with the specified rule set.

Méthodes protégées

Méthode Description
DefineRuleSet ( ) : void

Initializes the list of rules to use for building SWUMs.

Method Details

ApplyRules() public méthode

Applies the rules defined within this SwumBuilder to the specified node. The first matching rule found is used to construct the SWUM.
public ApplyRules ( ProgramElementNode node ) : SwumRule
node ABB.Swum.Nodes.ProgramElementNode The ProgramElementNode to construct a SWUM on.
Résultat SwumRule

DefineRuleSet() protected méthode

Initializes the list of rules to use for building SWUMs.
protected DefineRuleSet ( ) : void
Résultat void

SwumBuilder() public méthode

Creates a new SwumBuilder with the default rule set.
public SwumBuilder ( ) : System
Résultat System

SwumBuilder() public méthode

Creates a new SwumBuilder with the specified rule set.
public SwumBuilder ( IEnumerable ruleSet ) : System
ruleSet IEnumerable The set of rules to use for building SWUMs.
Résultat System

Property Details

Rules protected_oe property

The set of rules to use for building SWUMs.
protected IEnumerable Rules
Résultat IEnumerable