Anapher/Strive

View on GitHub
src/Services/ConferenceManagement/Strive.Infrastructure/KeyValue/InMemory/NoLockInMemoryDatabaseActions.cs

Summary

Maintainability
A
0 mins
Test Coverage
using System;
using System.Collections.Generic;
using Nito.Disposables;

namespace Strive.Infrastructure.KeyValue.InMemory
{
    public class NoLockInMemoryDatabaseActions : InMemoryDatabaseActions
    {
        public NoLockInMemoryDatabaseActions(Dictionary<string, object> data) : base(data)
        {
        }

        protected override IDisposable Lock()
        {
            return NoopDisposable.Instance;
        }
    }
}