Artemis.InjectionModules.BaseModules.Load C# (CSharp) Метод

Load() публичный Метод

public Load ( ) : void
Результат void
        public override void Load()
        {
            // ViewModels
            Bind<IScreen>().To<ShellViewModel>().InSingletonScope();
            Bind<IProfileEditorVmFactory>().ToFactory();
            Bind<ILayerEditorVmFactory>().ToFactory();
            Bind<ProfileViewModel>().ToSelf();
            Bind<DebugViewModel>().ToSelf().InSingletonScope();

            Bind<BaseViewModel>().To<WelcomeViewModel>().InSingletonScope();
            Bind<BaseViewModel>().To<EffectsViewModel>().InSingletonScope();
            Bind<BaseViewModel>().To<GamesViewModel>().InSingletonScope();
            Bind<BaseViewModel>().To<OverlaysViewModel>().InSingletonScope();

            // Models
            Bind<ProfilePreviewModel>().ToSelf().InSingletonScope();

            // Services
            Bind<MetroDialogService>().ToSelf().InSingletonScope();
        }
    }
BaseModules