MessageSource Class |
Provides commodity methods to work with an IMessageSink.
Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 6.5.21.0 (6.5.21.0)
C#
public class MessageSource : MarshalByRefObject, IMessageSink
The MessageSource type exposes the following members.
Name | Description | |
---|---|---|
MessageSource(String, IMessageDispenser) |
Initializes a new MessageSource backed by a IMessageDispenser.
| |
MessageSource(String, ResourceManager) |
Instantiates a MessageSource backed by a ResourceManager.
|
Name | Description | |
---|---|---|
MessageSink |
Gets the current message sink.
|
Name | Description | |
---|---|---|
CreateMessage |
Creates a Message from the current MessageSource.
| |
Write(Message) |
Writes a message to the sink.
| |
Write(Assembly, SeverityType, String, Object[]) |
Emits a Message.
| |
Write(MemberInfo, SeverityType, String, Object[]) |
Emits a Message.
| |
Write(ParameterInfo, SeverityType, String, Object[]) |
Emits a Message.
| |
Write(MessageLocation, SeverityType, String, Object[]) |
Emits a Message.
| |
Write(MessageLocation, SeverityType, String, Exception, Object[]) |