e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
11 lines
500 B
C#
11 lines
500 B
C#
#if !SILVERLIGHT
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace System.ComponentModel.DataAnnotations {
|
|
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Validatable", Justification = "While not in the dictionary, this is spelled to match other APIs and frameworks.")]
|
|
public interface IValidatableObject {
|
|
IEnumerable<ValidationResult> Validate(ValidationContext validationContext);
|
|
}
|
|
}
|
|
#endif |