C# Class Renci.SshNet.ExpectAction

Specifies behavior for expected expression
Datei anzeigen Open project: sshnet/SSH.NET

Public Methods

Method Description
ExpectAction ( Regex expect, Action action ) : System

Initializes a new instance of the ExpectAction class.

ExpectAction ( string expect, Action action ) : System

Initializes a new instance of the ExpectAction class.

Method Details

ExpectAction() public method

Initializes a new instance of the ExpectAction class.
or is null.
public ExpectAction ( Regex expect, Action action ) : System
expect System.Text.RegularExpressions.Regex The expect regular expression.
action Action The action to perform.
return System

ExpectAction() public method

Initializes a new instance of the ExpectAction class.
or is null.
public ExpectAction ( string expect, Action action ) : System
expect string The expect expression.
action Action The action to perform.
return System