Implemented VirtualPrinterDriver project
This commit is contained in:
parent
f29c84821b
commit
5c87967c3f
125 changed files with 8191 additions and 0 deletions
23
UI/VirtualPrinter.ProgressInfo.Autofac/ProgressInfoModule.cs
Normal file
23
UI/VirtualPrinter.ProgressInfo.Autofac/ProgressInfoModule.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
using Autofac;
|
||||
|
||||
using VirtualPrinter.ProgressInfo.Core;
|
||||
using VirtualPrinter.ProgressInfo.Core.Message;
|
||||
using VirtualPrinter.ProgressInfo.Lib;
|
||||
using VirtualPrinter.ProgressInfo.Lib.Interfaces;
|
||||
using VirtualPrinter.ProgressInfo.Lib.Message;
|
||||
|
||||
namespace VirtualPrinter.ProgressInfo.Autofac
|
||||
{
|
||||
public class ProgressInfoModule : Module
|
||||
{
|
||||
protected override void Load(ContainerBuilder builder)
|
||||
{
|
||||
builder.RegisterType<ProgressInfoBroker>().As<IProgressInfo>().SingleInstance();
|
||||
builder.RegisterType<MessageFactory>().As<IMessageFactory>();
|
||||
builder.RegisterType<Message>();
|
||||
builder.RegisterType<ProgressInfoServerFactory>().As<IProgressInfoServerFactory>();
|
||||
builder.RegisterType<ProgressInfoProcessManager>().As<IProgressInfoProcessManager>();
|
||||
builder.RegisterType<ProgressInfoServer>().As<IProgressInfoServer>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue