Files
GSS2Rework/GSS2.Test/DependencyInjectionHelper.cs
T

19 lines
597 B
C#

using Microsoft.EntityFrameworkCore;
using Microsoft.IdentityModel.Protocols.Configuration;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using GSS2.Core.Hardware;
using GSS2.Core.Analysis.AmineContent.Database;
namespace GSS2.Test;
public static class DependencyInjectionHelper
{
public static IServiceCollection AddUi(this IServiceCollection services) =>
services
.AddTransient<CameraView>()
.AddTransient<CameraViewModel>()
.AddTransient<MainWindowViewModel>();
}