Provides commodity methods to work with an IMessageSink.
Implements
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
public class MessageSource : MarshalByRefObject, IMessageSink
Constructors
Name | Description |
---|---|
MessageSource(string, IMessageDispenser) | Initializes a new MessageSource backed by a IMessageDispenser. |
MessageSource(string, ResourceManager) | Instantiates a MessageSource backed by a ResourceManager. |
Properties
Name | Description |
---|---|
MessageSink | Gets the current message sink. |
Methods
Name | Description |
---|---|
CreateMessage(MessageLocation, SeverityType, string, Exception, params object[]) | Creates a Message from the current MessageSource. |
Write(Message) | Writes a message to the sink. |
Write(MessageLocation, SeverityType, string, Exception, params object[]) | |
Write(MessageLocation, SeverityType, string, params object[]) | Emits a Message. |
Write(Assembly, SeverityType, string, params object[]) | Emits a Message. |
Write(MemberInfo, SeverityType, string, params object[]) | Emits a Message. |
Write(ParameterInfo, SeverityType, string, params object[]) | Emits a Message. |