Text |
public class TextWriterMessageService : IMessageService
The TextWriterMessageService type exposes the following members.
| Name | Description | |
|---|---|---|
| TextWriterMessageService | Initializes a new instance of the TextWriterMessageService class. |
| Name | Description | |
|---|---|---|
| DefaultMessageBoxTitle | Gets the default message box title. | |
| ProductName | Gets the application product name. |
| Name | Description | |
|---|---|---|
| AskQuestion | Asks the user a Yes/No question, using "Yes" as the default button. Returns true if yes was clicked, false if no was clicked. | |
| ChooseSaveError | Show a message informing the user about a save error, and allow him to retry/save under alternative name. | |
| 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) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| InformSaveError | Show a message informing the user about a save error. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ShowCustomDialog | Shows a custom dialog. | |
| ShowError | Shows an error. | |
| ShowErrorFormatted | Shows an error using a message box. formatstring is first passed through the StringParser, then through Format(String, Object), using the formatitems as arguments. | |
| ShowException | Shows an exception. | |
| ShowHandledException | Shows an exception. | |
| ShowInputBox | Shows an input box. | |
| ShowMessage | Shows a message. | |
| ShowMessageFormatted | Shows a formatted message. | |
| ShowWarning | Shows a warning message. | |
| ShowWarningFormatted | Shows a warning message. formatstring is first passed through the StringParser, then through Format(String, Object), using the formatitems as arguments. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| WriteErrorLine(String, String) | Writes an error line. | |
| WriteErrorLine(String, String, Object) | Writes a formatted error line. | |
| WriteLine(MessageLevel, String, String) | Writes a message line. | |
| WriteLine(MessageLevel, String, String, Object) | Writes a formatted message line. | |
| WriteLine(MessageLevel, String, IFormatProvider, String, Object) | Writes a formatted message line using the specified format provider. |