register_notify_realm_object_changed() private method

private register_notify_realm_object_changed ( NotifyRealmObjectCallback callback ) : void
callback NotifyRealmObjectCallback
return void
Example #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();
        }
Example #2
0
 static Realm()
 {
     NativeCommon.Initialize();
     NativeCommon.register_notify_realm_changed(NotifyRealmChanged);
     NativeCommon.register_notify_realm_object_changed(RealmObject.NotifyRealmObjectPropertyChanged);
 }