Update mnigets

This commit is contained in:
Dan Clark
2024-11-02 21:33:17 +00:00
parent 116c83f130
commit 469a52efaa
6 changed files with 28 additions and 10 deletions
@@ -0,0 +1,18 @@
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Toolkit.Foundation;
namespace Toolkit.WinUI;
public static class IServiceCollectionExtensions
{
public static IServiceCollection AddWinUI(this IServiceCollection services)
{
services.AddTransient<IDispatcherTimerFactory, DispatcherTimerFactory>();
return services;
}
}