public ResponseInterceptorTests()
 {
     Handler = Substitute.For <AlwaysTrueRequestHandler>();
 }
 public AlexaErrorInterceptor(LinkedListNode <IAlexaErrorInterceptor <SkillRequest> > node,
                              IAlexaRequestHandler <SkillRequest> requestHandler,
                              IAlexaErrorHandler <SkillRequest> handler) :
     base(node, requestHandler, handler)
 {
 }
示例#3
0
 public AlexaRequestInterceptor(LinkedListNode <IAlexaRequestInterceptor <TSkillRequest> > node, IAlexaRequestHandler <TSkillRequest> handler)
 {
     Node    = node;
     Handler = handler ?? throw new ArgumentNullException(nameof(handler));
 }