Scripting.CheckFor Method
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9083)
CheckFor(ScriptEvent)
Checks whether the specified condition is currently met.
Declaration
public ScriptMatch CheckFor(ScriptEvent scriptEvent)
Parameters
Type | Name | Description |
---|---|---|
ScriptEvent | scriptEvent | Condition to be met. |
Returns
Type | Description |
---|---|
ScriptMatch | Result of the check. |
CheckFor(ScriptEvent[])
Checks whether the specified conditions are currently met. The events are processed as if the OR operator was applied.
Declaration
public ScriptMatch CheckFor(params ScriptEvent[] events)
Parameters
Type | Name | Description |
---|---|---|
ScriptEvent[] | events | Condition to be met. |
Returns
Type | Description |
---|---|
ScriptMatch | Result of the check. |