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: 0x02000139 RID: 313
[Token(Token = "0x2000139")]
public interface INotifyDataErrorInfo
{
/// Gets a value that indicates whether the entity has validation errors.
///
/// if the entity currently has validation errors; otherwise, .
// Token: 0x17000170 RID: 368
// (get) Token: 0x060007BE RID: 1982
[Token(Token = "0x17000170")]
bool HasErrors
{
[Token(Token = "0x60007BE")]
[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: 0x060007BF RID: 1983
[Token(Token = "0x60007BF")]
[Address(Slot = "1")]
IEnumerable GetErrors(string propertyName);
/// Occurs when the validation errors have changed for a property or for the entire entity.
// Token: 0x14000009 RID: 9
// (add) Token: 0x060007C0 RID: 1984
// (remove) Token: 0x060007C1 RID: 1985
[Token(Token = "0x14000009")]
event EventHandler ErrorsChanged;
}
}