Skip to content

Commit 1e0805b

Browse files
Remove redundant cache.
1 parent 09116d4 commit 1e0805b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

LazyProxy.Unity/UnityExtensions.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ public static class UnityExtensions
1515
{
1616
private static readonly Func<LifetimeManager> GetTransientLifetimeManager = () => new TransientLifetimeManager();
1717

18-
private static readonly ConcurrentDictionary<(IUnityContainer container, Type type, string name), Lazy<Delegate>> ValueFactories
19-
= new ConcurrentDictionary<(IUnityContainer container, Type type, string name), Lazy<Delegate>>();
20-
2118
/// <summary>
2219
/// Is used to register interface TFrom to class TTo by creation a lazy proxy at runtime.
2320
/// The real class To will be instantiated only after first method execution.

0 commit comments

Comments
 (0)