register_notify_realm_object_changed() приватный Метод

private register_notify_realm_object_changed ( NotifyRealmObjectCallback callback ) : void
callback NotifyRealmObjectCallback
Результат void
Пример #1
0
        static Realm()
        {
            NativeCommon.Initialize();

            NativeCommon.NotifyRealmCallback       notifyRealm       = RealmState.NotifyRealmChanged;
            NativeCommon.NotifyRealmObjectCallback notifyRealmObject = RealmObject.NotifyRealmObjectPropertyChanged;
            GCHandle.Alloc(notifyRealm);
            GCHandle.Alloc(notifyRealmObject);

            NativeCommon.register_notify_realm_changed(notifyRealm);
            NativeCommon.register_notify_realm_object_changed(notifyRealmObject);

            SynchronizationContextEventLoopSignal.Install();
        }
Пример #2
0
 static Realm()
 {
     NativeCommon.Initialize();
     NativeCommon.register_notify_realm_changed(NotifyRealmChanged);
     NativeCommon.register_notify_realm_object_changed(RealmObject.NotifyRealmObjectPropertyChanged);
 }