2015-10-25 17:20:12 +00:00
|
|
|
|
using FSO.Common.Domain.Realestate;
|
|
|
|
|
|
using FSO.Common.Domain.Shards;
|
2016-12-28 15:44:56 +00:00
|
|
|
|
using FSO.Common.Domain.Top100;
|
2015-10-25 17:20:12 +00:00
|
|
|
|
using Ninject.Modules;
|
|
|
|
|
|
|
|
|
|
|
|
namespace FSO.Common.Domain
|
|
|
|
|
|
{
|
|
|
|
|
|
public class ClientDomainModule : NinjectModule
|
|
|
|
|
|
{
|
|
|
|
|
|
public override void Load()
|
|
|
|
|
|
{
|
|
|
|
|
|
Bind<IShardsDomain>().To<Shards.ClientShards>().InSingletonScope();
|
|
|
|
|
|
Bind<IRealestateDomain>().To<FSO.Common.Domain.Realestate.RealestateDomain>().InSingletonScope();
|
2016-12-28 15:44:56 +00:00
|
|
|
|
Bind<ITop100Domain>().To<Top100Domain>().InSingletonScope();
|
2015-10-25 17:20:12 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|