1
0
mirror of synced 2024-07-03 00:50:37 +00:00
Tapeti/Tapeti.Flow/ConfigExtensions.cs

12 lines
310 B
C#
Raw Normal View History

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;
}
}
}