예제 #1
0
        public IDocumentStorage CreateDocumentStorage(ISession session, IConfiguration configuration)
        {
            if (_storage == null)
            {
                _storage = new InMemoryDocumentStorage();
            }

            return(_storage);
        }
예제 #2
0
        public IDocumentStorage CreateDocumentStorage()
        {
            if (_storage == null)
            {
                _storage = new InMemoryDocumentStorage();
            }

            return(_storage);
        }