mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-05 09:47:18 -05:00
19 lines
435 B
C#
19 lines
435 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using Autofac;
|
|||
|
using OpenDiablo2.Common.Interfaces;
|
|||
|
|
|||
|
namespace OpenDiablo2.GameServer_
|
|||
|
{
|
|||
|
public sealed class AutofacModule : Module
|
|||
|
{
|
|||
|
protected override void Load(ContainerBuilder builder)
|
|||
|
{
|
|||
|
builder.RegisterType<GameServer>().As<IGameServer>().SingleInstance();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|