Renci.SshNet.ExpectAction.ExpectAction C# (CSharp) Method

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
        public ExpectAction(Regex expect, Action<string> action)
        {
            if (expect == null)
                throw new ArgumentNullException("expect");

            if (action == null)
                throw new ArgumentNullException("action");

            Expect = expect;
            Action = action;
        }

Same methods

ExpectAction::ExpectAction ( string expect, Action action ) : System
ExpectAction