public void RegisterTypes(IContainerRegistry containerRegistry) { store = new DbcStore(parameterFactory); containerRegistry.RegisterInstance <IDbcStore>(store); containerRegistry.RegisterInstance <ISpellStore>(store); }
public void Initialize() { Store = new DbcStore(_container); _container.RegisterInstance <IDbcStore>(Store, new ContainerControlledLifetimeManager()); }