예제 #1
0
        protected override void ConfigureContainer(ContainerBuilder builder)
        {
            DelbertConfig.ConfigureDependencies(builder);

            builder.RegisterType <WindowManager>().As <IWindowManager>().SingleInstance();
            builder.RegisterType <MessageBus>().As <IMessageBus>().SingleInstance();
        }
예제 #2
0
        protected override void Configure()
        {
            base.Configure();

            EnforceNamespaceConvention = true;
            ViewModelBaseType          = typeof(IViewModelBase);

            DelbertConfig.ConfigureApplication(Container);
        }