C# Class ABB.Swum.SwumRule

Defines the method for constructing the Software Word Use Model on a program element, provided it meets defined constraints.
Show file Open project: abb-iss/Swum.NET

Public Methods

Method Description
ConstructSwum ( ProgramElementNode node ) : void

Constructs the Software Word Use Model on the given node, using this Rule.

InClass ( ProgramElementNode node ) : bool

Determines whether the supplied ProgramElementNode matches the conditions of this rule.

ToString ( ) : string

Returns a string representing the type of the rule.

Method Details

ConstructSwum() public abstract method

Constructs the Software Word Use Model on the given node, using this Rule.
public abstract ConstructSwum ( ProgramElementNode node ) : void
node ABB.Swum.Nodes.ProgramElementNode The node to construct the SWUM on.
return void

InClass() public abstract method

Determines whether the supplied ProgramElementNode matches the conditions of this rule.
public abstract InClass ( ProgramElementNode node ) : bool
node ABB.Swum.Nodes.ProgramElementNode The ProgramElementNode to test.
return bool

ToString() public method

Returns a string representing the type of the rule.
public ToString ( ) : string
return string