Class NullMessageSink
An implementation of IMessageSink that ignores all messages.
public class NullMessageSink : IMessageSink
- Inheritance
-
NullMessageSink
- Implements
- Inherited Members
- Extension Methods
Fields
Instance
Gets the singleton null message sink instance.
public static NullMessageSink Instance
Field Value
Methods
OnMessage(IMessageSinkMessage)
Reports the presence of a message on the message bus. This method should never throw exceptions.
public bool OnMessage(IMessageSinkMessage message)
Parameters
messageIMessageSinkMessageThe message from the message bus
Returns
- bool
Return
trueto continue running tests, orfalseto stop.