Class ErrorsProvider<T>
Inherited Members
Namespace: EyeAuras.Shared.Model
Assembly: EyeAuras.Shared.Metadata.dll
Syntax
public sealed class ErrorsProvider<T> : DisposableReactiveObject, ICanSetErrors, IHasErrors, IDisposable, INotifyPropertyChanged, IHasError
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
| Name | Description |
|---|---|
| ErrorsProvider(T, int) |
Properties
| Name | Description |
|---|---|
| Errors | Gets a list of all reported errors. |
| HasErrors | Gets a value indicating whether any errors have been reported. |
| LastError | Gets the last error that occurred. |
Methods
| Name | Description |
|---|---|
| Clear() | Clears all reported errors. |
| FormatToString(ToStringBuilder) | |
| Report(ErrorInfo) | Reports an error. |
| Report(IHasErrorProvider) | |
| Report(IHasErrors) | Subscribes to an error source and reports its errors. |
| Report(Exception) | Reports an exception as an error. |
| ReportMany<T>(IObservableList<T>) | Subscribes to multiple error sources and reports their errors. |
| ReportMany<T1, TKey>(IObservableCache<T1, TKey>) | Subscribes to multiple error sources and reports their errors. |
| ReportSuccess() | Reports that last operation was successful, clearing LastError |