Class AdapterMessageBag
- Namespace
- MES.MQC.DataSourceLibrary.Models.Adapters
- Assembly
- MES.MQC.DataSourceLibrary.dll
The AdapterMessageBag contains multiple Error and Warning AdapterMessages.
public class AdapterMessageBag
- Inheritance
-
AdapterMessageBag
- Inherited Members
Properties
AdapterName
public string AdapterName { get; set; }
Property Value
Errors
public HashSet<AdapterMessage> Errors { get; set; }
Property Value
Warnings
public HashSet<AdapterMessage> Warnings { get; set; }
Property Value
Methods
ThrowError(string, string)
Throws an Error message to be either ignored, displayed at a notification (on data source import or refresh) or shown in a validation dialog (if a report file is imported as a test). The import of the current filePath is aborted with an internal exception.
public void ThrowError(string title, string description)
Parameters
titlestringTitle of the error notification
descriptionstringDescription of the error notification
ThrowWarning(string, string)
Throws an Warning message to be either ignored, displayed at a notification (on data source import or refresh) or shown in a validation dialog (if a report file is imported as a test). The import of the current filePath continues unimpeded by the warning.
public void ThrowWarning(string title, string description)