예제 #1
0
        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);
        }
예제 #2
0
 public Task <SkillResponse> Intercept(AlexaRequestInformation <TSkillRequest> request, RequestInterceptorCall <TSkillRequest> next)
 {
     return(Node.Value.Intercept(request, next));
 }