12 lines
310 B
C#
12 lines
310 B
C#
namespace Tapeti.Flow
|
|
{
|
|
public static class ConfigExtensions
|
|
{
|
|
public static TapetiConfig WithFlow(this TapetiConfig config, IFlowRepository<Default.FlowState> flowRepository)
|
|
{
|
|
config.Use(new FlowMiddleware(flowRepository));
|
|
return config;
|
|
}
|
|
}
|
|
}
|