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