We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 245d756 commit 69a52cbCopy full SHA for 69a52cb
src/Lifetime/ExternallyControlledLifetimeManager.cs
@@ -10,8 +10,7 @@ namespace Unity.Lifetime
10
/// A <see cref="LifetimeManager"/> that holds a weak reference to
11
/// it's managed instance.
12
/// </summary>
13
- public class ExternallyControlledLifetimeManager : LifetimeManager,
14
- IBuildPlanPolicy
+ public class ExternallyControlledLifetimeManager : LifetimeManager
15
{
16
private WeakReference _value = new WeakReference(null);
17
@@ -40,10 +39,5 @@ public override void RemoveValue()
40
39
41
// DO NOTHING - we don't own this instance.
42
}
43
-
44
- public void BuildUp(IBuilderContext context)
45
- {
46
- context.Existing = _value.Target;
47
- }
48
49
0 commit comments