public AjaxContinuation Validate(ValidateField field) { var rule = _graph.RuleFor(field.Hash); var notification = _rules.Run(rule, field.Value); return(_continuation.Resolve(notification)); }
public void Handle(Notification notification) { var continuation = _resolver.Resolve(notification); _output.WriteResponseCode(_settings.StatusCode); _request.Set(continuation); }