internal abstract void Evaluate(ValidationContext context, object item);
private static ValidationContext ExecuteDuplicateOperationValidator(IEdmModel model) { ValidationContext context = new ValidationContext(model, (object o) => false); DuplicateOperationValidator validator = new DuplicateOperationValidator(context); foreach (var operation in model.SchemaElements.OfType<IEdmOperation>()) { validator.ValidateNotDuplicate(operation, false /*skipError*/); } return context; }
internal DuplicateOperationValidator(ValidationContext context) { this.context = context; }