public IDocumentStorage CreateDocumentStorage() { if(_storage == null) { _storage = new InMemoryDocumentStorage(); } return _storage; }
public IDocumentStorage CreateDocumentStorage(ISession session, Configuration configuration) { if (_storage == null) { _storage = new InMemoryDocumentStorage(); } return _storage; }