This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,40 @@
using System;
using System.Collections;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Defines members that data entity classes can implement to provide custom synchronous and asynchronous validation support.</summary>
// Token: 0x02000139 RID: 313
[Token(Token = "0x2000139")]
public interface INotifyDataErrorInfo
{
/// <summary>Gets a value that indicates whether the entity has validation errors.</summary>
/// <returns>
/// <see langword="true" /> if the entity currently has validation errors; otherwise, <see langword="false" />.</returns>
// Token: 0x17000170 RID: 368
// (get) Token: 0x060007BE RID: 1982
[Token(Token = "0x17000170")]
bool HasErrors
{
[Token(Token = "0x60007BE")]
[Address(Slot = "0")]
get;
}
/// <summary>Gets the validation errors for a specified property or for the entire entity.</summary>
/// <param name="propertyName">The name of the property to retrieve validation errors for; or <see langword="null" /> or <see cref="F:System.String.Empty" />, to retrieve entity-level errors.</param>
/// <returns>The validation errors for the property or entity.</returns>
// Token: 0x060007BF RID: 1983
[Token(Token = "0x60007BF")]
[Address(Slot = "1")]
IEnumerable GetErrors(string propertyName);
/// <summary>Occurs when the validation errors have changed for a property or for the entire entity.</summary>
// Token: 0x14000009 RID: 9
// (add) Token: 0x060007C0 RID: 1984
// (remove) Token: 0x060007C1 RID: 1985
[Token(Token = "0x14000009")]
event EventHandler<DataErrorsChangedEventArgs> ErrorsChanged;
}
}