Files
mono/mcs/class/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/IValidatableObject.cs
T
dotnet-bot a026243bcc Adding System.Compo... System.Ident... System.Numer... System.Runti...
Adding reference source for
System.ComponentModel.DataAnnotations
System.IdentityModel
System.IdentityModel.Selectors
System.Numerics
System.Runtime.Caching
System.Runtime.Serialization
2016-05-03 00:07:38 +02:00

12 lines
501 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