1
0
mirror of synced 2024-11-16 14:53:50 +00:00
Tapeti/Tapeti.Flow.SQL/ConfigExtensions.cs

37 lines
877 B
C#
Raw Normal View History

using System.Collections.Generic;
using Tapeti.Config;
namespace Tapeti.Flow.SQL
{
public static class ConfigExtensions
{
public static TapetiConfig WithFlowSqlRepository(this TapetiConfig config)
{
config.Use(new FlowSqlRepositoryBundle());
return config;
}
}
internal class FlowSqlRepositoryBundle : ITapetiExtension
{
/*
public IEnumerable<object> GetContents(IDependencyResolver dependencyResolver)
{
((IDependencyContainer)dependencyResolver)?.RegisterDefault<IFlowRepository, >();
return null;
}
*/
public void RegisterDefaults(IDependencyContainer container)
{
}
public IEnumerable<object> GetMiddleware(IDependencyResolver dependencyResolver)
{
return null;
}
}
}