PostSharp.ILAPI ReferencePost­Sharp.​ExtensibilityMessage­Dispenser
Open sandboxFocus

MessageDispenser Class

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
IMessageDispenser
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
public abstract class MessageDispenser : Object, IMessageDispenser

Constructors

Name Description
MessageDispenser(String)

Initializes a new MessageDispenser.

Properties

Name Description
Prefix

Gets the message prefix.

Methods

Name Description
GetHelpUrl(Int32)

Gets the message help URL of a given number.

GetMessage(Int32)

Gets the message text of a given number.

GetMessage(String)

Gets a message text given a message key.