1
0
mirror of synced 2024-11-16 06:43:51 +00:00
Tapeti/Tapeti.Flow/ConfigExtensions.cs
2017-07-27 17:32:31 +02:00

12 lines
317 B
C#

namespace Tapeti.Flow
{
public static class ConfigExtensions
{
public static TapetiConfig WithFlow(this TapetiConfig config, IFlowRepository<Default.FlowState> flowRepository = null)
{
config.Use(new FlowMiddleware(flowRepository));
return config;
}
}
}