CQRS.Tests.KeyValueStorage.DocumentDbTests.OpenSession C# (CSharp) Method

OpenSession() protected static method

protected static OpenSession ( IDocumentDb store, ISingleContextUseGuard guard = null ) : IDocumentDbSession
store IDocumentDb
guard ISingleContextUseGuard
return IDocumentDbSession
        protected static IDocumentDbSession OpenSession(IDocumentDb store, ISingleContextUseGuard guard = null)
        {
            return new DocumentDbSession(store, guard ?? new SingleThreadUseGuard(), NullOpDocumentDbSessionInterceptor.Instance);
        }
DocumentDbTests