示例#1
0
        protected void SetNullableRealmIntegerValueUnique <T>(string propertyName, RealmInteger <T>?value)
            where T : struct, IComparable <T>, IFormattable
        {
            Debug.Assert(IsManaged, "Object is not managed, but managed access was attempted");

            _objectHandle.SetNullableInt64Unique(_metadata.PropertyIndices[propertyName], value.ToLong());
        }
示例#2
0
 protected void SetNullableRealmIntegerValueUnique <T>(string propertyName, RealmInteger <T>?value)
     where T : struct, IComparable <T>, IFormattable
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
 }
示例#3
0
 public int CompareTo(RealmInteger <T> other)
 {
     return(CompareTo(other._value));
 }
 /// <summary>
 /// Compares this instance to another <see cref="RealmInteger{T}"/> value.
 /// </summary>
 /// <param name="other">The value to compare to.</param>
 /// <returns>1 if this instance is greater than <c>other</c>, 0 if the two values are equal, and -1 if <c>other</c> is larger.</returns>
 public int CompareTo(RealmInteger <T> other) => _value.CompareTo(other._value);
示例#5
0
 /// <inheritdoc />
 public int CompareTo(RealmInteger <T> other)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(0);
 }
示例#6
0
 protected void SetNullableRealmIntegerValueUnique <T>(string propertyName, RealmInteger <T>?value)
     where T : struct, IComparable <T>, IFormattable
 {
     LogCall($"{nameof(propertyName)} = \"{propertyName}\", {nameof(value)} = {value}");
 }