Пример #1
0
        public void AddAnyErrors <T>(Notification notification)
        {
            var problems = _request.ProblemsFor <T>();

            problems.Each(problem =>
            {
                notification.RegisterMessage(problem.Property, ValidationKeys.InvalidFormat);
            });
        }