Skip to content

Commit 5a99713

Browse files
authored
Make InjectionTransientLifetimeManager public
`InjectionTransientLifetimeManager` is the only LifeTimeManger which class is made internal. By making it public, people like use who use your library to extend upon can also make use of it.
1 parent 996f21f commit 5a99713

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Lifetime/InjectionTransientLifetimeManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Unity.Microsoft.DependencyInjection.Lifetime
88
/// except it makes container remember all Disposable objects it created. Once container
99
/// is disposed all these objects are disposed as well.
1010
/// </summary>
11-
internal class InjectionTransientLifetimeManager : LifetimeManager,
11+
public class InjectionTransientLifetimeManager : LifetimeManager,
1212
IFactoryLifetimeManager,
1313
ITypeLifetimeManager
1414
{
@@ -38,4 +38,4 @@ public override bool InUse
3838

3939
#endregion
4040
}
41-
}
41+
}

0 commit comments

Comments
 (0)