1
0
mirror of synced 2024-07-01 08:17:39 +00:00
Tapeti/Tapeti.Flow/ConfigExtensions.cs

12 lines
317 B
C#
Raw Normal View History

namespace Tapeti.Flow
{
public static class ConfigExtensions
{
2017-07-27 15:32:31 +00:00
public static TapetiConfig WithFlow(this TapetiConfig config, IFlowRepository<Default.FlowState> flowRepository = null)
{
config.Use(new FlowMiddleware(flowRepository));
return config;
}
}
}