Click or drag to resize
WarningMessage Class
Class which represents a warning 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 class WarningMessage : CorrectableMessage

The WarningMessage type exposes the following members.

Constructors
  NameDescription
Public methodWarningMessage
Initializes a new instance of the WarningMessage class.
Top
Properties
  NameDescription
Public propertyCorrections
Gets the list of corrections for this message
(Inherited from CorrectableMessage.)
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.
(Inherited from CorrectableMessage.)
Public propertyCreatedOn
Gets the creation date/time
(Inherited from Message.)
Public propertyID
Gets or sets the identifier.
Public propertyIsIgnored
Gets or sets a value indicating whether this correctable message is ignored. Default false.
(Inherited from CorrectableMessage.)
Public propertyMessageText
Gets the message text
(Overrides MessageMessageText.)
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.
(Inherited from CorrectableMessage.)
Public methodAddCorrection(String, Int32, Action)
Adds a new correction with the parameter specified and the goLocation func specified.
(Inherited from CorrectableMessage.)
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
(Inherited from CorrectableMessage.)
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.
(Inherited from CorrectableMessage.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetMessageType
Gets the type of the message.
(Overrides CorrectableMessageGetMessageType.)
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.
(Inherited from CorrectableMessage.)
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
See Also