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); }
private void ConfigureContainer() { _container.RegisterInstance <WindowArchive>(WindowArchive.Instance); IArchiveServiceUnity archiveServiceUnity = _container.Resolve <IArchiveServiceUnity>(); archiveServiceUnity.Register(WindowArchive.Instance); _container.RegisterInstance <IWindowComponentService>(WindowComponentService.Instance); }