C# Class AsyncDolls.Testing.MessageUnit.MessagePublisherSimulator

Inheritance: IPublishMessages
ファイルを表示 Open project: danielmarbach/async-dolls

Public Methods

Method Description
MessagePublisherSimulator ( Task>.Func onMessage ) : System
PublishAsync ( AsyncDolls.TransportMessage message, AsyncDolls.PublishOptions options ) : System.Threading.Tasks.Task

Method Details

MessagePublisherSimulator() public method

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

PublishAsync() public method

public PublishAsync ( AsyncDolls.TransportMessage message, AsyncDolls.PublishOptions options ) : System.Threading.Tasks.Task
message AsyncDolls.TransportMessage
options AsyncDolls.PublishOptions
return System.Threading.Tasks.Task