FurinaImpact/FurinaImpact.Common/Data/Provider/ServiceCollectionExtensions.cs

11 lines
323 B
C#
Raw Normal View History

2023-12-09 03:45:08 +00:00
using Microsoft.Extensions.DependencyInjection;
namespace FurinaImpact.Common.Data.Provider;
public static class ServiceCollectionExtensions
{
public static IServiceCollection UseLocalAssets(this IServiceCollection services)
{
return services.AddSingleton<IAssetProvider, LocalAssetProvider>();
}
}