VeriStand .NET API Reference

Switch Members

The Switch type exposes the following members.

NameDescription
Switch
Overloaded. Initializes a new instance of Switch.

Methods

NameDescription
Clone Creates a new object that is a copy of the current instance. (Inherited from BaseNode.)
Equals
Overloaded. Determines whether the specified obj, which must be a Statement object, is equal to the current instance of Statement.
FinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode Serves as a hash function for a Switch object. The hash code this method returns is suitable for use in hashing algorithms and data structures like a hash table. (Overrides Statement.GetHashCode().)
GetTypeGets the Type of the current instance. (Inherited from Object.)
MemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
ToStringReturns a String that represents the current Object. (Inherited from Object.)

Properties

NameDescription
Cases Gets or sets the list of case statements that the Switch statement contains and evaluates against the TestExpression.
Default Gets or sets the default case statement to execute if the TestExpression does not match the CaseValue of any of the Cases.
Description Gets or sets the description of the node that appears in the Property Browser when you select the node in the Stimulus Profile Editor. (Inherited from BaseNode.)
ResXKey Gets or sets the ResX key for the node, which is a pointer to a .resx file that contains a context help description for the node. (Inherited from BaseNode.)
TestExpression The expression to evaluate each CaseValue in the Cases list against to determine which case to execute. If this value matches the value of a case, the Switch statement executes that case. If no case matches this value, the statement executes the Default case.

Events

NameDescription
PropertyChanged Occurs when a property value changes. (Inherited from BaseNode.)

See Also

Log in to get a better experience