PostSharp6.4/API Reference/Post­Sharp.​Extensibility Namespace/Message­Dispenser Class

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 Hierarchy
System.Object
  PostSharp.Extensibility.MessageDispenser

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
public abstract class MessageDispenser : IMessageDispenser

The MessageDispenser type exposes the following members.

Constructors
  NameDescription
Protected methodMessageDispenser
Initializes a new MessageDispenser.
Properties
  NameDescription
Public propertyPrefix
Gets the message prefix.
Methods
  NameDescription
Protected methodGetHelpUrl
Gets the message help URL of a given number.
Protected methodGetMessage(Int32)
Gets the message text of a given number.
Public methodGetMessage(String)
Gets a message text given a message key.
See Also