Example #1
0
 public IAuthenticateExpression Respond(Action <IRespondingScenario> response)
 {
     Response = new RespondingScenario();
     if (response != null)
     {
         response(Response);
     }
     _listener.StartAsync(this);
     return(this);
 }
Example #2
0
 void IListeningScenario.Respond(Action<IRespondingScenario> response)
 {
     Response = new RespondingScenario();
     if (response != null) response(Response);
     _listener.StartAsync(this);
 }