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