@@ -68,27 +68,27 @@ public static IServiceCollection Remove(this IServiceCollection serviceCollectio
6868 /// <summary>
6969 /// Removes a service from the <see cref="IServiceCollection"/>.
7070 /// </summary>
71- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
71+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
7272 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
7373 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
74- public static IServiceCollection Remove < TServive > ( this IServiceCollection serviceCollection )
75- where TServive : class
74+ public static IServiceCollection Remove < TService > ( this IServiceCollection serviceCollection )
75+ where TService : class
7676 {
77- return serviceCollection . Remove ( typeof ( TServive ) ) ;
77+ return serviceCollection . Remove ( typeof ( TService ) ) ;
7878 }
7979
8080 /// <summary>
8181 /// Removes a service from the <see cref="IServiceCollection"/>.
8282 /// </summary>
83- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
83+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
8484 /// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
8585 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
8686 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
87- public static IServiceCollection Remove < TServive , TImplementation > ( this IServiceCollection serviceCollection )
88- where TServive : class
89- where TImplementation : class , TServive
87+ public static IServiceCollection Remove < TService , TImplementation > ( this IServiceCollection serviceCollection )
88+ where TService : class
89+ where TImplementation : class , TService
9090 {
91- return serviceCollection . Remove ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
91+ return serviceCollection . Remove ( typeof ( TService ) , typeof ( TImplementation ) ) ;
9292 }
9393
9494 /// <summary>
@@ -122,27 +122,27 @@ public static IServiceCollection RemoveTransient(this IServiceCollection service
122122 /// <summary>
123123 /// Removes a transient service from the <see cref="IServiceCollection"/>.
124124 /// </summary>
125- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
125+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
126126 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
127127 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
128- public static IServiceCollection RemoveTransient < TServive > ( this IServiceCollection serviceCollection )
129- where TServive : class
128+ public static IServiceCollection RemoveTransient < TService > ( this IServiceCollection serviceCollection )
129+ where TService : class
130130 {
131- return serviceCollection . RemoveTransient ( typeof ( TServive ) ) ;
131+ return serviceCollection . RemoveTransient ( typeof ( TService ) ) ;
132132 }
133133
134134 /// <summary>
135135 /// Removes a transient service from the <see cref="IServiceCollection"/>.
136136 /// </summary>
137- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
137+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
138138 /// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
139139 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
140140 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
141- public static IServiceCollection RemoveTransient < TServive , TImplementation > ( this IServiceCollection serviceCollection )
142- where TServive : class
143- where TImplementation : class , TServive
141+ public static IServiceCollection RemoveTransient < TService , TImplementation > ( this IServiceCollection serviceCollection )
142+ where TService : class
143+ where TImplementation : class , TService
144144 {
145- return serviceCollection . RemoveTransient ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
145+ return serviceCollection . RemoveTransient ( typeof ( TService ) , typeof ( TImplementation ) ) ;
146146 }
147147
148148 /// <summary>
@@ -176,27 +176,27 @@ public static IServiceCollection RemoveSingleton(this IServiceCollection service
176176 /// <summary>
177177 /// Removes a singleton service from the <see cref="IServiceCollection"/>.
178178 /// </summary>
179- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
179+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
180180 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
181181 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
182- public static IServiceCollection RemoveSingleton < TServive > ( this IServiceCollection serviceCollection )
183- where TServive : class
182+ public static IServiceCollection RemoveSingleton < TService > ( this IServiceCollection serviceCollection )
183+ where TService : class
184184 {
185- return serviceCollection . RemoveSingleton ( typeof ( TServive ) ) ;
185+ return serviceCollection . RemoveSingleton ( typeof ( TService ) ) ;
186186 }
187187
188188 /// <summary>
189189 /// Removes a singleton service from the <see cref="IServiceCollection"/>.
190190 /// </summary>
191- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
191+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
192192 /// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
193193 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
194194 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
195- public static IServiceCollection RemoveSingleton < TServive , TImplementation > ( this IServiceCollection serviceCollection )
196- where TServive : class
197- where TImplementation : class , TServive
195+ public static IServiceCollection RemoveSingleton < TService , TImplementation > ( this IServiceCollection serviceCollection )
196+ where TService : class
197+ where TImplementation : class , TService
198198 {
199- return serviceCollection . RemoveSingleton ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
199+ return serviceCollection . RemoveSingleton ( typeof ( TService ) , typeof ( TImplementation ) ) ;
200200 }
201201
202202 /// <summary>
@@ -230,13 +230,13 @@ public static IServiceCollection RemoveScoped(this IServiceCollection serviceCol
230230 /// <summary>
231231 /// Removes a scoped service from the <see cref="IServiceCollection"/>.
232232 /// </summary>
233- /// <typeparam name="TServive ">Type of the service which will be removed.</typeparam>
233+ /// <typeparam name="TService ">Type of the service which will be removed.</typeparam>
234234 /// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
235235 /// <returns>The same <see cref="IServiceCollection"/>.</returns>
236- public static IServiceCollection RemoveScoped < TServive > ( this IServiceCollection serviceCollection )
237- where TServive : class
236+ public static IServiceCollection RemoveScoped < TService > ( this IServiceCollection serviceCollection )
237+ where TService : class
238238 {
239- return serviceCollection . RemoveScoped ( typeof ( TServive ) ) ;
239+ return serviceCollection . RemoveScoped ( typeof ( TService ) ) ;
240240 }
241241
242242 /// <summary>
0 commit comments