@ -72,6 +72,11 @@ namespace SlnMesnac.WPF
RegisterImplementations(builder, typeof(Repository<>).Assembly);
}
/// <summary>
/// 自动注入接口实现
/// </summary>
/// <param name="builder"></param>
/// <param name="assembly"></param>
private static void RegisterImplementations(ContainerBuilder builder, Assembly assembly)
{
//自动注入仓储层的接口实现类