Click or drag to resize

TextWriterMessageService Class

IMessageService implementation that writes messages to a text writer. User input is not implemented by this service.
Inheritance Hierarchy
SystemObject
  Altaxo.Main.Services.ImplementationTextWriterMessageService

Namespace: Altaxo.Main.Services.Implementation
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class TextWriterMessageService : IMessageService

The TextWriterMessageService type exposes the following members.

Constructors
 NameDescription
Public methodTextWriterMessageService Initializes a new instance of the TextWriterMessageService class.
Top
Properties
 NameDescription
Public propertyDefaultMessageBoxTitle Gets the default message box title.
Public propertyProductName Gets the application product name.
Top
Methods
 NameDescription
Public methodAskQuestion Asks the user a Yes/No question, using "Yes" as the default button. Returns true if yes was clicked, false if no was clicked.
Public methodChooseSaveError Show a message informing the user about a save error, and allow him to retry/save under alternative name.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInformSaveError Show a message informing the user about a save error.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodShowCustomDialog Shows a custom dialog.
Public methodShowError Shows an error.
Public methodShowErrorFormatted Shows an error using a message box. formatstring is first passed through the StringParser, then through Format(String, Object), using the formatitems as arguments.
Public methodShowException Shows an exception.
Public methodShowHandledException Shows an exception.
Public methodShowInputBox Shows an input box.
Public methodShowMessage Shows a message.
Public methodShowMessageFormatted Shows a formatted message.
Public methodShowWarning Shows a warning message.
Public methodShowWarningFormatted Shows a warning message. formatstring is first passed through the StringParser, then through Format(String, Object), using the formatitems as arguments.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWriteErrorLine(String, String) Writes an error line.
Public methodWriteErrorLine(String, String, Object) Writes a formatted error line.
Public methodWriteLine(MessageLevel, String, String) Writes a message line.
Public methodWriteLine(MessageLevel, String, String, Object) Writes a formatted message line.
Public methodWriteLine(MessageLevel, String, IFormatProvider, String, Object) Writes a formatted message line using the specified format provider.
Top
See Also