C# Class NServiceBus.Testing.TestableIncomingLogicalMessageContext

A testable implementation of IIncomingLogicalMessageContext.
Inheritance: TestableIncomingContext, IIncomingLogicalMessageContext
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
TestableIncomingLogicalMessageContext ( IMessageCreator messageCreator = null ) : System.Collections.Generic

Creates a new instance of TestableIncomingLogicalMessageContext.

UpdateMessageInstance ( object newInstance ) : void

Updates the message instance contained in LogicalMessage.

Method Details

TestableIncomingLogicalMessageContext() public method

Creates a new instance of TestableIncomingLogicalMessageContext.
public TestableIncomingLogicalMessageContext ( IMessageCreator messageCreator = null ) : System.Collections.Generic
messageCreator IMessageCreator
return System.Collections.Generic

UpdateMessageInstance() public method

Updates the message instance contained in LogicalMessage.
public UpdateMessageInstance ( object newInstance ) : void
newInstance object The new instance.
return void