@@ -68,27 +68,27 @@ public static IServiceCollection Remove(this IServiceCollection serviceCollectio
68
68
/// <summary>
69
69
/// Removes a service from the <see cref="IServiceCollection"/>.
70
70
/// </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>
72
72
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
73
73
/// <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
76
76
{
77
- return serviceCollection . Remove ( typeof ( TServive ) ) ;
77
+ return serviceCollection . Remove ( typeof ( TService ) ) ;
78
78
}
79
79
80
80
/// <summary>
81
81
/// Removes a service from the <see cref="IServiceCollection"/>.
82
82
/// </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>
84
84
/// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
85
85
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
86
86
/// <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
90
90
{
91
- return serviceCollection . Remove ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
91
+ return serviceCollection . Remove ( typeof ( TService ) , typeof ( TImplementation ) ) ;
92
92
}
93
93
94
94
/// <summary>
@@ -122,27 +122,27 @@ public static IServiceCollection RemoveTransient(this IServiceCollection service
122
122
/// <summary>
123
123
/// Removes a transient service from the <see cref="IServiceCollection"/>.
124
124
/// </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>
126
126
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
127
127
/// <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
130
130
{
131
- return serviceCollection . RemoveTransient ( typeof ( TServive ) ) ;
131
+ return serviceCollection . RemoveTransient ( typeof ( TService ) ) ;
132
132
}
133
133
134
134
/// <summary>
135
135
/// Removes a transient service from the <see cref="IServiceCollection"/>.
136
136
/// </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>
138
138
/// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
139
139
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
140
140
/// <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
144
144
{
145
- return serviceCollection . RemoveTransient ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
145
+ return serviceCollection . RemoveTransient ( typeof ( TService ) , typeof ( TImplementation ) ) ;
146
146
}
147
147
148
148
/// <summary>
@@ -176,27 +176,27 @@ public static IServiceCollection RemoveSingleton(this IServiceCollection service
176
176
/// <summary>
177
177
/// Removes a singleton service from the <see cref="IServiceCollection"/>.
178
178
/// </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>
180
180
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
181
181
/// <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
184
184
{
185
- return serviceCollection . RemoveSingleton ( typeof ( TServive ) ) ;
185
+ return serviceCollection . RemoveSingleton ( typeof ( TService ) ) ;
186
186
}
187
187
188
188
/// <summary>
189
189
/// Removes a singleton service from the <see cref="IServiceCollection"/>.
190
190
/// </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>
192
192
/// <typeparam name="TImplementation">Service implementation type which will be removed.</typeparam>
193
193
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
194
194
/// <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
198
198
{
199
- return serviceCollection . RemoveSingleton ( typeof ( TServive ) , typeof ( TImplementation ) ) ;
199
+ return serviceCollection . RemoveSingleton ( typeof ( TService ) , typeof ( TImplementation ) ) ;
200
200
}
201
201
202
202
/// <summary>
@@ -230,13 +230,13 @@ public static IServiceCollection RemoveScoped(this IServiceCollection serviceCol
230
230
/// <summary>
231
231
/// Removes a scoped service from the <see cref="IServiceCollection"/>.
232
232
/// </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>
234
234
/// <param name="serviceCollection">Instance of <see cref="IServiceCollection"/> type.</param>
235
235
/// <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
238
238
{
239
- return serviceCollection . RemoveScoped ( typeof ( TServive ) ) ;
239
+ return serviceCollection . RemoveScoped ( typeof ( TService ) ) ;
240
240
}
241
241
242
242
/// <summary>
0 commit comments