LANCommander/LANCommander.UI/Extensions/IServiceCollectionExtensions.cs

14 lines
366 B
C#
Raw Permalink Normal View History

2025-03-17 02:02:17 -05:00
using LANCommander.UI.Providers;
using Microsoft.Extensions.DependencyInjection;
namespace LANCommander.UI.Extensions;
public static class IServiceCollectionExtensions
{
public static IServiceCollection AddLANCommanderUI(this IServiceCollection services)
{
services.AddSingleton<TimeProvider, LocalTimeProvider>();
return services;
}
}