protected override void RegisterViewModels(IDependencyRegistrar dependencyRegistrar) { dependencyRegistrar.Singleton <IShellViewModel, ShellViewModel>(); dependencyRegistrar.Singleton <IMainViewModel, MainViewModel>(); dependencyRegistrar.Singleton <ISettingsViewModel, SettingsViewModel>(); dependencyRegistrar.Singleton <IFileSystemViewModel, FileSystemViewModel>(); dependencyRegistrar.PerRequest <IFolderViewModel, FolderViewModel>(); dependencyRegistrar.PerRequest <IFileViewModel, FileViewModel>(); dependencyRegistrar.Singleton <IReferenceGeneratorViewModel, ReferenceGeneratorViewModel>(); dependencyRegistrar.Singleton <IReferencesViewModel, ReferencesViewModel>(); dependencyRegistrar.PerRequest <IReferenceViewModel, ReferenceViewModel>(); }