Skip to content

Commit

Permalink
Match Common Service Provider Pattern
Browse files Browse the repository at this point in the history
Rename to match the common pattern for adding services to the .NET
Service Provider.
  • Loading branch information
AdrianJSClark committed Mar 3, 2022
1 parent 8f8e4a9 commit c74ca9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Aydsko.iRacingData/ServicesExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
// This file is licensed to you under the MIT license.

using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System.Net;

namespace Aydsko.iRacingData;

public static class ServicesExtensions
{
public static IServiceCollection UseIRacingDataApi(this IServiceCollection services)
public static IServiceCollection AddIRacingDataApi(this IServiceCollection services)
{
services.AddSingleton(new CookieContainer());

Expand Down

0 comments on commit c74ca9c

Please sign in to comment.