Skip to content

Commit 5c944b6

Browse files
(GH-601) Added additional types to scan in the AssemblyScanner
1 parent 9175003 commit 5c944b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/DotNetToolkit.Repository/Utility/AssemblyScanner.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
using System.Collections.Generic;
1111
using System.Linq;
1212
using System.Reflection;
13+
using Transactions;
1314

1415
/// <summary>
1516
/// A helper class for scanning all repositories and interceptors from a specified assembly collection.
@@ -51,6 +52,10 @@ private AssemblyScanner([NotNull] IEnumerable<Type> types)
5152
typeof(IReadOnlyRepository<,,,>),
5253
typeof(IRepositoryInterceptor),
5354
typeof(ILoggerProvider),
55+
typeof(IRepositoryFactory),
56+
typeof(IServiceFactory),
57+
typeof(IUnitOfWork),
58+
typeof(IUnitOfWorkFactory),
5459
};
5560
}
5661

0 commit comments

Comments
 (0)