@@ -27,7 +27,7 @@ public interface IUnityContainer : IDisposable
2727 /// If type provided in <paramref name="typeTo"/> is already registered with container, registration creates mapping to the existing
2828 /// registration and instead will use registration for <paramref name="typeTo"/> type to create object.</remarks>
2929 /// <returns>The <see cref="IUnityContainer"/> object that this method was called on.</returns>
30- /// <exception cref="InvalidRegistrationException "></exception>
30+ /// <exception cref="InvalidOperationException "></exception>
3131 IUnityContainer RegisterType ( Type typeFrom , Type typeTo , string name , ITypeLifetimeManager lifetimeManager , params InjectionMember [ ] injectionMembers ) ;
3232
3333
@@ -49,22 +49,24 @@ public interface IUnityContainer : IDisposable
4949 /// Following are the only valid options: <see cref="ContainerControlledLifetimeManager"/>, <see cref="SingletonLifetimeManager"/>, <see cref="ExternallyControlledLifetimeManager"/>
5050 /// </param>
5151 /// <returns>The <see cref="IUnityContainer"/> object that this method was called on.</returns>
52+ /// <exception cref="InvalidOperationException"></exception>
5253 IUnityContainer RegisterInstance ( Type type , string name , object instance , IInstanceLifetimeManager lifetimeManager ) ;
5354
5455
5556 /// <summary>
5657 /// Register <see cref="Type"/> factory with the container
5758 /// </summary>
5859 /// <remarks>
59- /// This method allows to redister a <see cref=" Func< IUnityContainer, Type, string, object>"/> delegate which will be called
60+ /// This method allows to redister a Func{ IUnityContainer, Type, string, object} delegate which will be called
6061 /// by the container if type is requested.
6162 /// </remarks>
6263 /// <param name="type"><see cref="Type"/> to register (may be an implemented interface instead of the actual type).</param>
6364 /// <param name="name">Name for registration</param>
64- /// <param name="factory">Predefined <code >Func<IUnityContainer, Type, string, object></code > to create types</param>
65+ /// <param name="factory">Predefined <c >Func<IUnityContainer, Type, string, object></c > to create types</param>
6566 /// <param name="lifetimeManager">The <see cref="LifetimeManager"/> that controls the lifetime
6667 /// of the returned instance. This manager has to derive from <see cref="IFactoryLifetimeManager"/></param>
6768 /// <returns>The <see cref="IUnityContainer"/> object that this method was called on.</returns>
69+ /// <exception cref="InvalidOperationException"></exception>
6870 IUnityContainer RegisterFactory ( Type type , string name , Func < IUnityContainer , Type , string , object > factory , IFactoryLifetimeManager lifetimeManager ) ;
6971
7072
0 commit comments