Esempio n. 1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="AErrorCode">Error code.</param>
 /// <param name="AErrorCodeConstantClass">Class that holds the definition of the constant for the error code.</param>
 /// <param name="AErrorCodeConstantName">Name of the constant for the error code.</param>
 /// <param name="AShortDescription">Short description of the error code.</param>
 /// <param name="AFullDescription">Full description of the error code.</param>
 /// <param name="AErrorMessageText">String that will be displayed in MessageBoxes, etc. instead of the value of <paramref name="AShortDescription" />.</param>
 /// <param name="AErrorMessageTitle">String that will be displayed as Title of MessageBoxes, etc..</param>
 /// <param name="ACategory">Category of the error code.</param>
 /// <param name="AHelpID">Help ID of the error code.</param>
 /// <param name="AControlValueUndoRequested">Set this to true if the Error Code requests that the validated
 /// Control's value is undone.</param>
 public ErrCodeInfo(string AErrorCode,
                    string AErrorCodeConstantClass,
                    string AErrorCodeConstantName,
                    string AShortDescription,
                    string AFullDescription,
                    string AErrorMessageText,
                    string AErrorMessageTitle,
                    ErrCodeCategory ACategory,
                    string AHelpID,
                    bool AControlValueUndoRequested = false)
 {
     FErrorCode = AErrorCode;
     FErrorCodeConstantClass = AErrorCodeConstantClass;
     FErrorCodeConstantName  = AErrorCodeConstantName;
     FShortDescription       = AShortDescription;
     FFullDescription        = AFullDescription;
     FErrorMessageText       = AErrorMessageText;
     FErrorMessageTitle      = AErrorMessageTitle;
     FCategory = ACategory;
     FHelpID   = AHelpID;
     FControlValueUndoRequested = AControlValueUndoRequested;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="AErrorCode">Error code.</param>
 /// <param name="AErrorCodeConstantClass">Class that holds the definition of the constant for the error code.</param>
 /// <param name="AErrorCodeConstantName">Name of the constant for the error code.</param>
 /// <param name="AShortDescription">Short description of the error code.</param>
 /// <param name="AFullDescription">Full description of the error code.</param>
 /// <param name="AErrorMessageText">String that will be displayed in MessageBoxes, etc. instead of the value of <paramref name="AShortDescription" />.</param>
 /// <param name="AErrorMessageTitle">String that will be displayed as Title of MessageBoxes, etc..</param>
 /// <param name="ACategory">Category of the error code.</param>
 /// <param name="AHelpID">Help ID of the error code.</param>
 /// <param name="AControlValueUndoRequested">Set this to true if the Error Code requests that the validated
 /// Control's value is undone.</param>
 public ErrCodeInfo(string AErrorCode,
     string AErrorCodeConstantClass,
     string AErrorCodeConstantName,
     string AShortDescription,
     string AFullDescription,
     string AErrorMessageText,
     string AErrorMessageTitle,
     ErrCodeCategory ACategory,
     string AHelpID,
     bool AControlValueUndoRequested = false)
 {
     FErrorCode = AErrorCode;
     FErrorCodeConstantClass = AErrorCodeConstantClass;
     FErrorCodeConstantName = AErrorCodeConstantName;
     FShortDescription = AShortDescription;
     FFullDescription = AFullDescription;
     FErrorMessageText = AErrorMessageText;
     FErrorMessageTitle = AErrorMessageTitle;
     FCategory = ACategory;
     FHelpID = AHelpID;
     FControlValueUndoRequested = AControlValueUndoRequested;
 }