Skip to content

Commit c384295

Browse files
committed
wording
1 parent ee01b36 commit c384295

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Abstracts/IUnityContainer.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public interface IUnityContainer : IDisposable
2323
/// <param name="mappedToType">A <see cref="Type"/> that will actually be returned. Also referred
2424
/// as <c>ToType</c> or <c>ImplementationType</c>.</param>
2525
/// <param name="name">Name of the registration</param>
26-
/// <param name="lifetimeManager">The <see cref="TypeLifetime"/> that controls the lifetime of the returned instance.
27-
/// If <paramref name="lifetimeManager"/> is null, container uses <see cref="TypeLifetime.Transient"/> lifetime.</param>
26+
/// <param name="lifetimeManager">A lifetime manager that controls how instances are created, managed, and disposed of.
27+
/// If <paramref name="lifetimeManager"/> is <c>null</c>, container uses default <see cref="TypeLifetime.Transient"/> lifetime.</param>
2828
/// <param name="injectionMembers">Optional injection configuration objects</param>
2929
/// <remarks>
3030
/// <para>
@@ -135,7 +135,8 @@ public interface IUnityContainer : IDisposable
135135
/// <param name="type">Registration <see cref="Type"/>. A <see cref="Type"/> the factory will create when requested</param>
136136
/// <param name="name">Registration name</param>
137137
/// <param name="factory">Predefined factory delegate</param>
138-
/// <param name="lifetimeManager">The <see cref="FactoryLifetime"/> that controls the lifetime of objects.</param>
138+
/// <param name="lifetimeManager">The <see cref="FactoryLifetime"/> that controls the lifetime of objects.
139+
/// If <paramref name="lifetimeManager"/> is <c>null</c>, container uses default <see cref="TypeLifetime.Transient"/> lifetime</param>
139140
/// <remarks>
140141
/// <para>
141142
/// This method allows registration of factory function for specific <see cref="Type"/>.

0 commit comments

Comments
 (0)