C# Class Tp.Integration.Plugin.Common.Tests.Common.ServiceBus.PluginQueueMock

Inheritance: IPluginQueue
显示文件 Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
Peek ( System.TimeSpan fromSeconds ) : void
PluginQueueMock ( string queueName, List messages, List processedMessages ) : System
Purge ( ) : void
Receive ( System.TimeSpan fromSeconds, MessageQueueTransactionType transactionTypeForReceive ) : System.Messaging.Message

Method Details

Peek() public method

public Peek ( System.TimeSpan fromSeconds ) : void
fromSeconds System.TimeSpan
return void

PluginQueueMock() public method

public PluginQueueMock ( string queueName, List messages, List processedMessages ) : System
queueName string
messages List
processedMessages List
return System

Purge() public method

public Purge ( ) : void
return void

Receive() public method

public Receive ( System.TimeSpan fromSeconds, MessageQueueTransactionType transactionTypeForReceive ) : System.Messaging.Message
fromSeconds System.TimeSpan
transactionTypeForReceive MessageQueueTransactionType
return System.Messaging.Message