Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Message­Source Class

MessageSource Class

Provides commodity methods to work with an IMessageSink.
Inheritance Hierarchy
System.Object
  System.MarshalByRefObject
    PostSharp.Extensibility.MessageSource

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.51.0 (5.0.51.0)
Syntax
C#
public class MessageSource : MarshalByRefObject, 
	IMessageSink

The MessageSource type exposes the following members.

Constructors
  NameDescription
Public methodMessageSource(String, IMessageDispenser)
Initializes a new MessageSource backed by a IMessageDispenser.
Public methodMessageSource(String, ResourceManager)
Instantiates a MessageSource backed by a ResourceManager.
Properties
  NameDescription
Public propertyStatic memberMessageSink
Gets the current message sink.
Methods
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also