12 lines
317 B
C#
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;
|
|
}
|
|
}
|
|
}
|