示例#1
0
        public AjaxContinuation Validate(ValidateField field)
        {
            var rule         = _graph.RuleFor(field.Hash);
            var notification = _rules.Run(rule, field.Value);

            return(_continuation.Resolve(notification));
        }
示例#2
0
        public void Handle(Notification notification)
        {
            var continuation = _resolver.Resolve(notification);

            _output.WriteResponseCode(_settings.StatusCode);

            _request.Set(continuation);
        }