@@ -58,27 +58,27 @@ public static IServiceCollection Remove(this IServiceCollection serviceCollectio
58
58
/// <summary>
59
59
/// Removes a service from the <see cref="IServiceCollection"/>.
60
60
/// </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>
62
62
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
63
63
/// <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
66
66
{
67
- return serviceCollection . Remove ( typeof ( TServive ) ) ;
67
+ return serviceCollection . Remove ( typeof ( TService ) ) ;
68
68
}
69
69
70
70
/// <summary>
71
71
/// Removes a service from the <see cref="IServiceCollection"/>.
72
72
/// </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>
74
74
/// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
75
75
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
76
76
/// <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
80
80
{
81
- return serviceCollection . Remove ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
81
+ return serviceCollection . Remove ( typeof ( TService ) , typeof ( TImplementation ) ) ;
82
82
}
83
83
84
84
/// <summary>
@@ -112,27 +112,27 @@ public static IServiceCollection RemoveTransient(this IServiceCollection service
112
112
/// <summary>
113
113
/// Removes a transient service from the <see cref="IServiceCollection"/>.
114
114
/// </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>
116
116
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
117
117
/// <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
120
120
{
121
- return serviceCollection . RemoveTransient ( typeof ( TServive ) ) ;
121
+ return serviceCollection . RemoveTransient ( typeof ( TService ) ) ;
122
122
}
123
123
124
124
/// <summary>
125
125
/// Removes a transient service from the <see cref="IServiceCollection"/>.
126
126
/// </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>
128
128
/// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
129
129
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
130
130
/// <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
134
134
{
135
- return serviceCollection . RemoveTransient ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
135
+ return serviceCollection . RemoveTransient ( typeof ( TService ) , typeof ( TImplementation ) ) ;
136
136
}
137
137
138
138
/// <summary>
@@ -166,27 +166,27 @@ public static IServiceCollection RemoveSingleton(this IServiceCollection service
166
166
/// <summary>
167
167
/// Removes a singleton service from the <see cref="IServiceCollection"/>.
168
168
/// </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>
170
170
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
171
171
/// <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
174
174
{
175
- return serviceCollection . RemoveSingleton ( typeof ( TServive ) ) ;
175
+ return serviceCollection . RemoveSingleton ( typeof ( TService ) ) ;
176
176
}
177
177
178
178
/// <summary>
179
179
/// Removes a singleton service from the <see cref="IServiceCollection"/>.
180
180
/// </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>
182
182
/// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
183
183
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
184
184
/// <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
188
188
{
189
- return serviceCollection . RemoveSingleton ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
189
+ return serviceCollection . RemoveSingleton ( typeof ( TService ) , typeof ( TImplementation ) ) ;
190
190
}
191
191
192
192
/// <summary>
@@ -220,13 +220,13 @@ public static IServiceCollection RemoveScoped(this IServiceCollection serviceCol
220
220
/// <summary>
221
221
/// Removes a scoped service from the <see cref="IServiceCollection"/>.
222
222
/// </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>
224
224
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
225
225
/// <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
228
228
{
229
- return serviceCollection . RemoveScoped ( typeof ( TServive ) ) ;
229
+ return serviceCollection . RemoveScoped ( typeof ( TService ) ) ;
230
230
}
231
231
232
232
/// <summary>
0 commit comments