Skip to content

Commit

Permalink
chore: register the remote end point resolution service
Browse files Browse the repository at this point in the history
  • Loading branch information
ArachisH committed Mar 31, 2024
1 parent 0ba14e2 commit 5f2ac48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tanji.Infrastructure/Services/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Microsoft.Extensions.Options;
using Microsoft.Extensions.DependencyInjection;

using Tanji.Core.Net;
using Tanji.Infrastructure.Factories;
using Tanji.Infrastructure.ViewModels;
using Tanji.Infrastructure.Configuration;
Expand All @@ -23,6 +24,7 @@ public static IServiceCollection AddTanjiCore(this IServiceCollection services)
// Singleton Services
services.AddSingleton<IClientHandlerService, ClientHandlerService>();
services.AddSingleton<IWebInterceptionService, EavesdropInterceptionService>();
services.AddSingleton<IRemoteEndPointResolverService<HotelEndPoint>, RemoteHotelEndPointResolverService>();
services.AddSingleton<IConnectionHandlerService, ConnectionHandlerService>();

// Scoped Services
Expand Down

0 comments on commit 5f2ac48

Please sign in to comment.