IErrors interface
Namespace: NextDesign.Core
Description
Provides access to model validation error information.
Error information is registered to IModel.
Affiliation area
Name | Description |
---|---|
Search/error/output | A group of APIs to access error information, search results, and the output window. |
Property
Name | Description |
---|---|
AllErrors | A collection of all error information Returns an empty collection if there are no error registrations. |
Errors | Error information whose error type is error If there is no corresponding error, an empty collection is returned. |
Informations | Error information whose error type is information If there is no applicable error, an empty collection is returned. |
Summaries | Error information whose error type is summary If there is no corresponding error, an empty collection is returned. |
Warnings | Error information whose error type is warning If there is no corresponding error, an empty collection is returned. |
Method
Name | Description |
---|---|
AddErrors | Adds the specified error information to the model. |
ClearErrors | Clears all error information. |
ClearErrorsAt | Clears all error information for the specified model. |
FindErrorByCategory | Finds error information for the specified category. The error information in the search results also includes summary information. Returns an empty collection if there is no applicable error information. |
FindErrorOfModelByCategory | Finds error information for the specified category of the given model. The error information in the search results also includes summary information. Returns an empty collection if there is no applicable error information. |
RemoveError | Removes the specified error information. Nothing will be done if error information that has already been deleted is specified. |
RemoveErrors | Remove all specified error information. Ignores error information that has already been deleted. |