The ScriptEvent type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| And |
Both of the conditions must be met.
| |
| CursorAtPosition |
Gets a ScriptEvent that matches a cursor appearing at the specified position.
| |
| CursorInArea |
Gets a ScriptEvent that matches a cursor appearing in the specified area.
| |
| Delay |
Gets a ScriptEvent that matches a delay (no data arrived for the specified time).
| |
| Duration |
Gets a ScriptEvent that matches when data are received for specified time.
| |
| Equals |
Returns a value indication whether this object equals another object.
(Overrides Object..::..Equals(Object).) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FromRegex(String) |
Gets a ScriptEvent that matches the regular expression.
| |
| FromRegex(Regex) |
Gets a ScriptEvent that matches the regular expression.
| |
| FromString |
Gets a ScriptEvent that matches the specified string.
| |
| GetHashCode |
Returns the hash code for the value of this instance.
(Overrides Object..::..GetHashCode()()()().) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Not |
A condition must not be met.
| |
| Or(array<ScriptEvent>[]()[][]) |
At least one of the conditions must be met.
| |
| Or(ScriptEvent, ScriptEvent) |
At least one of the conditions must be met.
| |
| SetTag |
Set the ScriptEvent's tag.
| |
| TextAtPosition |
Gets a ScriptEvent that matches the specified string appearing at the specified position.
| |
| TextInRegion |
Gets a ScriptEvent that matches the specified string appearing inside the specified region on the screen.
| |
| TextOnCursorLine |
Gets a ScriptEvent that matches the specified string appearing at the cursor line.
| |
| TextOnScreen |
Gets a ScriptEvent that matches the specified string appearing on the screen.
| |
| ToString |
Returns human readable representation of this ScriptEvent.
(Overrides Object..::..ToString()()()().) |
Operators
| Name | Description | |
|---|---|---|
| BitwiseAnd |
Both of the conditions must be met.
| |
| BitwiseOr |
At least one of the conditions must be met.
| |
| ImplicitWideningImplicitImplicitImplicit(String to ScriptEvent) |
Converts string to the ScriptEvent.
| |
| ImplicitWideningImplicitImplicitImplicit(Regex to ScriptEvent) |
Converts Regex to the ScriptEvent.
| |
| LogicalNot |
A condition must not be met.
|
Properties
| Name | Description | |
|---|---|---|
| AnyText |
Gets a ScriptEvent that matches any character that is not a part of escape sequence (e.g. color change is not matched).
| |
| Closed |
Gets a ScriptEvent that matches when the underlying channel is closed.
| |
| Line |
Gets a ScriptEvent that matches an end-of-line ('\n') sequence.
| |
| Prompt |
Gets a ScriptEvent that matches the prompt specified by Prompt property.
| |
| Tag |
Gets or sets a tag of this condition.
| |
| Timeout |
Gets a ScriptEvent that matches timed-out operation.
|