ErrorMessage Methods |
The ErrorMessage type exposes the following members.
Name | Description | |
---|---|---|
AddCorrection(String, Int32) |
Adds a new correction with the parameter specified and no func set whatsoever.
(Inherited from CorrectableMessage.) | |
AddCorrection(String, Int32, Action) |
Adds a new correction with the parameter specified and the goLocation func specified.
(Inherited from CorrectableMessage.) | |
AddCorrection(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.) | |
AddTag |
Adds the tag specified to this message.
(Inherited from Message.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetFullMessageText |
Gets the full message text.
(Inherited from CorrectableMessage.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMessageType |
Gets the type of the message.
(Overrides CorrectableMessageGetMessageType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasTags |
Determines whether this message has any of the specified tags assigned to it.
(Inherited from Message.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnHandled |
Raises the Handled event
(Inherited from Message.) | |
OnPropertyChanged |
Called when a property changed which was worth a notification
(Inherited from Message.) | |
PerformCorrection |
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.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |