@@ -58,27 +58,27 @@ public static IServiceCollection Remove(this IServiceCollection serviceCollectio
5858 /// <summary>
5959 /// Removes a service from the <see cref="IServiceCollection"/>.
6060 /// </summary>
61- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
61+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
6262 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
6363 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
64- public static IServiceCollection Remove < TServive > ( this IServiceCollection serviceCollection )
65- where TServive : class
64+ public static IServiceCollection Remove < TService > ( this IServiceCollection serviceCollection )
65+ where TService : class
6666 {
67- return serviceCollection . Remove ( typeof ( TServive ) ) ;
67+ return serviceCollection . Remove ( typeof ( TService ) ) ;
6868 }
6969
7070 /// <summary>
7171 /// Removes a service from the <see cref="IServiceCollection"/>.
7272 /// </summary>
73- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
73+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
7474 /// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
7575 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
7676 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
77- public static IServiceCollection Remove < TServive , TImplementation > ( this IServiceCollection serviceCollection )
78- where TServive : class
79- where TImplementation : class , TServive
77+ public static IServiceCollection Remove < TService , TImplementation > ( this IServiceCollection serviceCollection )
78+ where TService : class
79+ where TImplementation : class , TService
8080 {
81- return serviceCollection . Remove ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
81+ return serviceCollection . Remove ( typeof ( TService ) , typeof ( TImplementation ) ) ;
8282 }
8383
8484 /// <summary>
@@ -112,27 +112,27 @@ public static IServiceCollection RemoveTransient(this IServiceCollection service
112112 /// <summary>
113113 /// Removes a transient service from the <see cref="IServiceCollection"/>.
114114 /// </summary>
115- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
115+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
116116 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
117117 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
118- public static IServiceCollection RemoveTransient < TServive > ( this IServiceCollection serviceCollection )
119- where TServive : class
118+ public static IServiceCollection RemoveTransient < TService > ( this IServiceCollection serviceCollection )
119+ where TService : class
120120 {
121- return serviceCollection . RemoveTransient ( typeof ( TServive ) ) ;
121+ return serviceCollection . RemoveTransient ( typeof ( TService ) ) ;
122122 }
123123
124124 /// <summary>
125125 /// Removes a transient service from the <see cref="IServiceCollection"/>.
126126 /// </summary>
127- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
127+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
128128 /// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
129129 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
130130 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
131- public static IServiceCollection RemoveTransient < TServive , TImplementation > ( this IServiceCollection serviceCollection )
132- where TServive : class
133- where TImplementation : class , TServive
131+ public static IServiceCollection RemoveTransient < TService , TImplementation > ( this IServiceCollection serviceCollection )
132+ where TService : class
133+ where TImplementation : class , TService
134134 {
135- return serviceCollection . RemoveTransient ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
135+ return serviceCollection . RemoveTransient ( typeof ( TService ) , typeof ( TImplementation ) ) ;
136136 }
137137
138138 /// <summary>
@@ -166,27 +166,27 @@ public static IServiceCollection RemoveSingleton(this IServiceCollection service
166166 /// <summary>
167167 /// Removes a singleton service from the <see cref="IServiceCollection"/>.
168168 /// </summary>
169- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
169+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
170170 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
171171 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
172- public static IServiceCollection RemoveSingleton < TServive > ( this IServiceCollection serviceCollection )
173- where TServive : class
172+ public static IServiceCollection RemoveSingleton < TService > ( this IServiceCollection serviceCollection )
173+ where TService : class
174174 {
175- return serviceCollection . RemoveSingleton ( typeof ( TServive ) ) ;
175+ return serviceCollection . RemoveSingleton ( typeof ( TService ) ) ;
176176 }
177177
178178 /// <summary>
179179 /// Removes a singleton service from the <see cref="IServiceCollection"/>.
180180 /// </summary>
181- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
181+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
182182 /// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
183183 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
184184 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
185- public static IServiceCollection RemoveSingleton < TServive , TImplementation > ( this IServiceCollection serviceCollection )
186- where TServive : class
187- where TImplementation : class , TServive
185+ public static IServiceCollection RemoveSingleton < TService , TImplementation > ( this IServiceCollection serviceCollection )
186+ where TService : class
187+ where TImplementation : class , TService
188188 {
189- return serviceCollection . RemoveSingleton ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
189+ return serviceCollection . RemoveSingleton ( typeof ( TService ) , typeof ( TImplementation ) ) ;
190190 }
191191
192192 /// <summary>
@@ -220,13 +220,13 @@ public static IServiceCollection RemoveScoped(this IServiceCollection serviceCol
220220 /// <summary>
221221 /// Removes a scoped service from the <see cref="IServiceCollection"/>.
222222 /// </summary>
223- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
223+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
224224 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
225225 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
226- public static IServiceCollection RemoveScoped < TServive > ( this IServiceCollection serviceCollection )
227- where TServive : class
226+ public static IServiceCollection RemoveScoped < TService > ( this IServiceCollection serviceCollection )
227+ where TService : class
228228 {
229- return serviceCollection . RemoveScoped ( typeof ( TServive ) ) ;
229+ return serviceCollection . RemoveScoped ( typeof ( TService ) ) ;
230230 }
231231
232232 /// <summary>
0 commit comments