Table of Contents

Interface IExecuteActivityFactory<TActivity, TArguments>

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll

A factory that creates an execute activity and then invokes the pipe for the activity context

public interface IExecuteActivityFactory<out TActivity, TArguments> : IProbeSite where TActivity : class, IExecuteActivity<TArguments> where TArguments : class

Type Parameters

TActivity
TArguments
Inherited Members

Methods

Execute(ExecuteContext<TArguments>, IPipe<ExecuteActivityContext<TActivity, TArguments>>)

Executes the activity context by passing it to the activity factory, which creates the activity and then invokes the next pipe with the combined activity context

Task Execute(ExecuteContext<TArguments> context, IPipe<ExecuteActivityContext<out TActivity, TArguments>> next)

Parameters

context ExecuteContext<TArguments>
next IPipe<ExecuteActivityContext<TActivity, TArguments>>

Returns

Task