Skip to content

Commit cdcea01

Browse files
committed
Adding Pipeline to lifetime managers
1 parent 8586e7b commit cdcea01

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Lifetime/Abstracts/LifetimeManager.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using Unity.Resolution;
23

34
namespace Unity.Lifetime
45
{
@@ -124,5 +125,15 @@ public override int GetHashCode()
124125
}
125126

126127
#endregion
128+
129+
130+
#region Internal Use
131+
132+
internal Delegate PipelineDelegate;
133+
134+
internal virtual object Pipeline<TContext>(ref TContext context) where TContext : IResolveContext
135+
=> ((ResolveDelegate<TContext>)PipelineDelegate)(ref context);
136+
137+
#endregion
127138
}
128139
}

0 commit comments

Comments
 (0)