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

14 lines
336 B
C#
Raw Normal View History

using Tapeti.Config;
namespace Tapeti.Flow
{
public static class ConfigExtensions
{
public static ITapetiConfigBuilder WithFlow(this ITapetiConfigBuilder config, IFlowRepository flowRepository = null)
{
config.Use(new FlowMiddleware(flowRepository));
return config;
}
}
}