public RealmStorageConnection(
     RealmJobStorage storage)
 {
     _logger     = LogProvider.For <RealmStorageConnection>();
     _storage    = storage ?? throw new ArgumentNullException(nameof(storage));
     _jobQueue   = new RealmJobQueue(storage);
     _lockObject = new object();
 }
 public RealmWriteOnlyTransaction(RealmJobStorage storage)
 {
     _logger       = LogProvider.For <RealmWriteOnlyTransaction>();
     _storage      = storage;
     _commandQueue = new Queue <Action <Realms.Realm> >();
 }