Esempio n. 1
0
            public bool TryGetPrimaryKeyValue(RealmObject instance, out object value)
            {
                SettingRealm settingRealm = (SettingRealm)instance;

                value = (object)settingRealm.Key;
                return(true);
            }
Esempio n. 2
0
            public void CopyToRealm(RealmObject instance, bool update, bool skipDefaults)
            {
                SettingRealm settingRealm = (SettingRealm)instance;

                // ISSUE: reference to a compiler-generated field
                if (skipDefaults && settingRealm.\u003CValue\u003Ek__BackingField == null)
                {
                    return;
                }
                // ISSUE: reference to a compiler-generated field
                settingRealm.Value = settingRealm.\u003CValue\u003Ek__BackingField;
            }