private void ConfigureContainer()
        {
            _container.RegisterInstance <MenuStripArchive>(MenuStripArchive.Instance);
            _container.RegisterInstance <ToolStripArchive>(ToolStripArchive.Instance);
            IArchiveServiceUnity archiveServiceUnity = _container.Resolve <IArchiveServiceUnity>();

            archiveServiceUnity.Register(MenuStripArchive.Instance);
            archiveServiceUnity.Register(ToolStripArchive.Instance);
        }
예제 #2
0
        private void ConfigureContainer()
        {
            _container.RegisterInstance <WindowArchive>(WindowArchive.Instance);
            IArchiveServiceUnity archiveServiceUnity = _container.Resolve <IArchiveServiceUnity>();

            archiveServiceUnity.Register(WindowArchive.Instance);
            _container.RegisterInstance <IWindowComponentService>(WindowComponentService.Instance);
        }