SimpleContainer dependency injection system implemented

This commit is contained in:
2020-07-28 23:56:14 +02:00
parent 3e6245be9b
commit d790cb96d4
12 changed files with 287 additions and 2 deletions

View File

@ -0,0 +1,20 @@
using Autofac;
using ImageHandlingLibrary;
using ImageHandlingLibrary.InterFaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PictureHandling
{
class ProgramModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.RegisterType<Registring>().As<IRegistring>();
}
}
}