Click or drag to resize
CorrectableMessage Class
Class which is a special kind of message: a message which is correctable, through corrections contained in this message.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ApplicationCore.MessageReporting
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public abstract class CorrectableMessage : Message

The CorrectableMessage type exposes the following members.

Constructors
  NameDescription
Protected methodCorrectableMessage
Initializes a new instance of the CorrectableMessage class.
Top
Properties
  NameDescription
Public propertyCorrections
Gets the list of corrections for this message
Public propertyCorrectionsAreChoices
Gets or sets a value indicating whether the contained corrections are choices (true), instead of steps (false). Choices are corrections which can have a correction func while steps ( CorrectionsAreChoices is set to false). If CorrectionsAreChoices is set to false, the message can still have corrections with their GoLocationFunc set to a value.
Public propertyCreatedOn
Gets the creation date/time
(Inherited from Message.)
Public propertyIsIgnored
Gets or sets a value indicating whether this correctable message is ignored. Default false.
Public propertyMessageText
Gets the message text
(Inherited from Message.)
Public propertySource
Gets the source of the message
(Inherited from Message.)
Public propertyTypeOfMessage
Gets the type of the message.
(Inherited from Message.)
Public propertyTypeOfMessageAsInt
Gets the integer value of TypeOfMessage. For databinding.
(Inherited from Message.)
Top
Methods
  NameDescription
Public methodAddCorrection(String, Int32)
Adds a new correction with the parameter specified and no func set whatsoever.
Public methodAddCorrection(String, Int32, Action)
Adds a new correction with the parameter specified and the goLocation func specified.
Public methodAddCorrection(String, Int32, FuncBoolean)
Adds a new correction with the parameter specified and the correction func specified. If correctionFunc is not null, this message has to have CorrectionsAreChoices set to true
Public methodAddTag
Adds the tag specified to this message.
(Inherited from Message.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetFullMessageText
Gets the full message text.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetMessageType
Gets the type of the message.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasTags
Determines whether this message has any of the specified tags assigned to it.
(Inherited from Message.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnHandled
Raises the Handled event
(Inherited from Message.)
Protected methodOnPropertyChanged
Called when a property changed which was worth a notification
(Inherited from Message.)
Public methodPerformCorrection
Performs the correction specified. If this message is a message with steps (CorrectionsAreChoices is false), or the passed in correct isn't part of this message, an exception is thrown. If the correction is allowed to be performed and the correction has a func, the func is invoked. If the func returns true, the Handled event is raised and this message is considered handled and corrected.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from Message.)
Top
Remarks
Use a CorrectableMessage to be able to specify errors and warnings
See Also