public void Init()
        {
            var storage = new RealmJobStorage(new RealmJobStorageOptions
            {
                RealmConfiguration = ConnectionUtils.GetRealmConfiguration()
            });

            _realm = storage.GetRealm();
            _realm.Write(() => _realm.RemoveAll());
            _monitoringApi = new RealmMonitoringApi(storage);
        }
예제 #2
0
        public void Init()
        {
            var storage = new RealmJobStorage(new RealmJobStorageOptions()
            {
                RealmConfiguration = ConnectionUtils.GetRealmConfiguration()
            });

            _realm       = storage.GetRealm();
            _transaction = new RealmWriteOnlyTransaction(storage);
            _realm.Write(() => _realm.RemoveAll());
        }
        public void Init()
        {
            _storage = new RealmJobStorage(new RealmJobStorageOptions()
            {
                RealmConfiguration = ConnectionUtils.GetRealmConfiguration()
            });
            _connection = new RealmStorageConnection(_storage);
            var realm = _storage.GetRealm();

            realm.Write(() => realm.RemoveAll());
        }