16 lines
428 B
C#
16 lines
428 B
C#
|
|
using Avalonia_Services.Services;
|
|||
|
|
|
|||
|
|
namespace Avalonia_API.Configuration
|
|||
|
|
{
|
|||
|
|
public static class ServicesConfiguration
|
|||
|
|
{
|
|||
|
|
public static void ConfigureServices(this IServiceCollection services)
|
|||
|
|
{
|
|||
|
|
// Register your services here
|
|||
|
|
// For example:
|
|||
|
|
// services.AddSingleton<IMyService, MyService>();
|
|||
|
|
services.AddScoped<WeatherForecastService>();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|