public ExpectAction ( |
||
expect | 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;
}
ExpectAction::ExpectAction ( string expect, Action |