Open sandboxFocus

Class MessageDispenser

Provides a base implementation of IMessageDispenser where the message key is supposed to be in format PRE0000, where PRE is a prefix and 0000 is an integer. Keys for help URLs have the format PRE0000?.

Inheritance
MessageDispenser
Implements
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
public abstract class MessageDispenser : IMessageDispenser

Constructors

Name Description
MessageDispenser(string)

Initializes a new MessageDispenser.

Properties

Name Description
Prefix

Gets the message prefix.

Methods

Name Description
GetHelpUrl(int)

Gets the message help URL of a given number.

GetMessage(int)

Gets the message text of a given number.

GetMessage(string)

Gets a message text given a message key.