PostSharp4.3//API Reference/Post­Sharp.​Extensibility Namespace/Message­Source Class/Message­Source Constructor/Message­Source Constructor (String, IMessage­Dispenser)
MessageSource Constructor (String, IMessageDispenser)
Initializes a new MessageSource backed by a IMessageDispenser.

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public MessageSource(
	string source,
	IMessageDispenser messageDispenser
)

Parameters

source
Type: System.String
Name of the component emitting. the messages.
messageDispenser
Type: PostSharp.Extensibility.IMessageDispenser
The IMessageDispenser that will be used to retrieve message texts.
See Also