1
0
mirror of synced 2024-06-29 07:17:39 +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;
}
}
}