private ConfigureDocumentStoreInternal ( |
||
documentStore | The document store. | |
리턴 | void |
private void ConfigureDocumentStoreInternal(EmbeddableDocumentStore documentStore)
{
documentStore.RegisterListener(new StoreListener(this.OnPagePublish, this.OnPageSave, this.OnPageUnPublish));
documentStore.RegisterListener(new DeleteListener(this.OnDocumentDelete));
IndexCreation.CreateIndexes(typeof (DefaultBrickPileBootstrapper).Assembly, documentStore);
}