Partager via


RuleAttribute Members

Indicates that a method, constructor, or property is a rule for a model program and associates the rule with an action invocation.

The following tables list the members exposed by the RuleAttribute type.

Public Constructors

  Name Description
  RuleAttribute Initializes a new instance of the RuleAttribute class.

Top

Public Properties

  Name Description
public property Action Gets or sets the action invocation associated with the rule.
public property DefaultParameterExpansionPoint Gets or sets a value that indicates when during exploration Spec Explorer performs parameter expansion for the rule.
public property ModeTransition Gets or sets the mode transition associated with the rule.
public property TypeId  (Inherited from Attribute)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  Overridden. (Inherited from Object)
public method GetHashCode  Overridden. (Inherited from Object)
public method GetType  (Inherited from Object)
public method IsDefaultAttribute  (Inherited from Attribute)
public method Match  (Inherited from Attribute)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

RuleAttribute Class
Microsoft.Modeling Namespace

Other Resources

Actions
Model Programs
Rules
Rule Attribute
Parameter Generation
Exploration
Steps