PostSharp4.3//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: 4.3.48.0 (4.3.48.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.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also