PostSharp6.6//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: 6.6.10.0 (6.6.10.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