The SshScript type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SshScript(Ssh) |
Creates a new script instance.
|
![]() |
SshScript(Ssh, String) |
Creates a new script instance.
|
Methods
Name | Description | |
---|---|---|
![]() |
AddTask |
Adds a task to this script.
|
![]() |
Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from 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.) |
![]() |
FireTaskEnded |
Fires a SshTaskEndedEvent event.
|
![]() |
FireTaskFailed |
Fires a SshTaskFailedEvent event.
|
![]() |
FireTaskStarted |
Fires a SshTaskStartedEvent event.
|
![]() |
FireTaskTimeout |
Fires a SshTaskTimeoutEvent
|
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
IsPreviousCompleted |
Checks if the task previuous to the specified is complete.
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
RemoveTask |
Removes a task to this script.
|
![]() |
SetNextActive |
Set the task next to the specified to the active state.
|
![]() |
ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() |
Count |
The task count.
|
![]() |
IsComplete |
Checks whether this script has completed execution of all task.
|
![]() |
IsEmpty |
Checks whether this script has no task.
|
![]() |
Item[([( Int32])]) |
The task indexer.
|
![]() |
Item[([( String])]) |
The task indexer.
|
![]() |
Ssh |
The underlayed SSH client.
|
Events
Name | Description | |
---|---|---|
![]() |
SshTaskEndedEvent |
Occurs after task has ended.
|
![]() |
SshTaskFailedEvent |
Occurs after task has failed.
|
![]() |
SshTaskStartedEvent |
Occurs after task has started.
|
![]() |
SshTaskTimeoutEvent |
Occurs after task has timed out.
|