C# Class AsyncDolls.Testing.MessageUnit.MessageSenderSimulator

Inheritance: ISendMessages
Exibir arquivo Open project: danielmarbach/async-dolls

Public Methods

Method Description
MessageSenderSimulator ( Task>.Func onMessage ) : System
SendAsync ( AsyncDolls.TransportMessage message, AsyncDolls.SendOptions options ) : System.Threading.Tasks.Task

Method Details

MessageSenderSimulator() public method

public MessageSenderSimulator ( Task>.Func onMessage ) : System
onMessage Task>.Func
return System

SendAsync() public method

public SendAsync ( AsyncDolls.TransportMessage message, AsyncDolls.SendOptions options ) : System.Threading.Tasks.Task
message AsyncDolls.TransportMessage
options AsyncDolls.SendOptions
return System.Threading.Tasks.Task