Skip to content

Commit

Permalink
Added LitterboxClient skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaseDRedmon committed Apr 22, 2023
1 parent 4047c01 commit 3e41c4a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/CatBox.NET/CatBoxConfig.cs
Original file line number Diff line number Diff line change
@@ -1,6 1,7 @@
namespace CatBox.NET;

public class CatBoxConfig
public record CatBoxConfig
{
public Uri CatBoxUrl { get; set; }
public Uri CatBoxUrl { get; init; }
public Uri LitterboxUrl { get; init; }
}
1 change: 1 addition & 0 deletions src/CatBox.NET/CatBoxServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 9,7 @@ public static IServiceCollection AddCatBoxServices(this IServiceCollection servi
services
.Configure(setupAction)
.AddScoped<ICatBox, Catbox>()
.AddScoped<ILitterboxClient, LitterboxClient>()
.AddScoped<ICatBoxClient, CatBoxClient>()
.AddHttpClient<ICatBoxClient, CatBoxClient>();

Expand Down
11 changes: 11 additions & 0 deletions src/CatBox.NET/LitterboxClient.cs
Original file line number Diff line number Diff line change
@@ -0,0 1,11 @@
namespace CatBox.NET;

public interface ILitterboxClient
{

}

public class LitterboxClient : ILitterboxClient
{

}

0 comments on commit 3e41c4a

Please sign in to comment.