public async Task <SkillResponse> Intercept(AlexaRequestInformation information, RequestInterceptorCall next) { var result = await next(information); if (result.SessionAttributes == null) { result.SessionAttributes = information.State.Session.Attributes; } return(result); }
public Task <SkillResponse> Intercept(AlexaRequestInformation <TSkillRequest> request, RequestInterceptorCall <TSkillRequest> next) { return(Node.Value.Intercept(request, next)); }