Bookstore.Application.Impl.ApplicationServices.Load C# (CSharp) Method

Load() public method

public Load ( ) : void
return void
        public override void Load()
        {
            BindTo<ApplicationStartup>().InSingletonScope();

              BindTo<QueryInvoker>().InSingletonScope();
              BindTo<CommandInvoker>().InSingletonScope();
              BindTo<CommandHandlerLocator>().InSingletonScope();
              BindTo<QueryHandlerLocator>().InSingletonScope();

              BindAllInAssembly(GetType().Assembly, typeof(ICommandHandler<,>));
              BindAllInAssembly(GetType().Assembly, typeof(IQueryHandler<,>));
              BindAllInAssembly(GetType().Assembly, typeof(IDomainEventHandler<>));
        }
ApplicationServices