14 lines
No EOL
366 B
C#
14 lines
No EOL
366 B
C#
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;
|
|
}
|
|
} |