示例#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);
        }