using System;
using System.Collections;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Defines members that data entity classes can implement to provide custom synchronous and asynchronous validation support.
// Token: 0x0200013D RID: 317
[Token(Token = "0x200013D")]
public interface INotifyDataErrorInfo
{
/// Gets a value that indicates whether the entity has validation errors.
///
/// if the entity currently has validation errors; otherwise, .
// Token: 0x17000174 RID: 372
// (get) Token: 0x060007D4 RID: 2004
[Token(Token = "0x17000174")]
bool HasErrors
{
[Token(Token = "0x60007D4")]
[Address(Slot = "0")]
get;
}
/// Gets the validation errors for a specified property or for the entire entity.
/// The name of the property to retrieve validation errors for; or or , to retrieve entity-level errors.
/// The validation errors for the property or entity.
// Token: 0x060007D5 RID: 2005
[Token(Token = "0x60007D5")]
[Address(Slot = "1")]
IEnumerable GetErrors(string propertyName);
/// Occurs when the validation errors have changed for a property or for the entire entity.
// Token: 0x1400000A RID: 10
// (add) Token: 0x060007D6 RID: 2006
// (remove) Token: 0x060007D7 RID: 2007
[Token(Token = "0x1400000A")]
event EventHandler ErrorsChanged;
}
}