You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Container stores registrations by <paramref name="registeredType"/> <see cref="Type"/>. When resolving, it will look
@@ -36,27 +36,27 @@ public interface IUnityContainer : IDisposable
36
36
/// </para>
37
37
/// <para>
38
38
/// Type <paramref name="mappedToType"/> will not be registered with the container. It will only be used to inform container how to
39
-
/// build the requested instance or where to redirect to satisfy the request. If type provided in <paramref name="mappedToType"/>
39
+
/// build the requested instance or where to redirect to satisfy the request. If the type provided in <paramref name="mappedToType"/>
40
40
/// is already registered with the container, the registration creates a mapping to the existing registration. It will redirect to that
41
41
/// registration when creating an object.
42
42
/// </para>
43
43
/// <para>
44
-
/// If <paramref name="injectionMembers"/> collection is not empty, the mapping will not redirect to other registrations. Instead it will
44
+
/// If <paramref name="injectionMembers"/> collection is not empty, the mapping will not redirect to other registrations. Instead, it will
45
45
/// always build the <see cref="Type"/> according to the rules set by provided <see cref="InjectionMember"/> objects.
46
46
/// </para>
47
47
/// <para>
48
48
/// Registering a <see cref="Type"/> with the same <paramref name="name"/> second time will overwrite previous registration. When
49
-
/// overwritten, registration will dispose lifetime manager it was registered with and if that manager hold a reference to an instance
50
-
/// of disposable object (the object implements <see cref="IDisposable"/>), it will be disposed as well.
49
+
/// overwritten, registration will dispose of lifetime manager it was registered with and if that manager holds a reference to an instance
50
+
/// of a disposable object (the object implements <see cref="IDisposable"/>), it will be disposed of as well.
51
51
/// </para>
52
52
/// <para>
53
-
/// During registration Unity performs only limited number of checks. To enable slower but more thorough and detailed validation add
53
+
/// During registration, Unity performs only a limited number of checks. To enable slower but more thorough and detailed validation add
54
54
/// <c>Diagnostic</c> extension to the container.
55
55
/// </para>
56
56
/// </remarks>
57
57
/// <example>
58
-
/// This example registers a default (no name) singleton service. The service will be created with default constructor, field and property <c>Resolved</c> and
59
-
/// <c>Injected</c> are initialized with resolved and injected values respectively, and method <c>Init</c> is called on the
58
+
/// This example registers a default (no name) singleton service. The service will be created with a default constructor, field and property
59
+
/// <c>Resolved</c> and <c>Injected</c> are initialized with resolved and injected values respectively, and method <c>Init</c> is called on the
60
60
/// created object.
61
61
/// <code>
62
62
/// c.RegisterType(typeof(IService), // Type to register
@@ -98,18 +98,18 @@ public interface IUnityContainer : IDisposable
0 commit comments