Exemplo n.º 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());
        }
Exemplo n.º 2
0
 protected void SetNullableRealmIntegerValueUnique <T>(string propertyName, RealmInteger <T>?value)
     where T : struct, IComparable <T>, IFormattable
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
 }
Exemplo n.º 3
0
 public int CompareTo(RealmInteger <T> other)
 {
     return(CompareTo(other._value));
 }
Exemplo n.º 4
0
 /// <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);
Exemplo n.º 5
0
 /// <inheritdoc />
 public int CompareTo(RealmInteger <T> other)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(0);
 }
Exemplo n.º 6
0
 protected void SetNullableRealmIntegerValueUnique <T>(string propertyName, RealmInteger <T>?value)
     where T : struct, IComparable <T>, IFormattable
 {
     LogCall($"{nameof(propertyName)} = \"{propertyName}\", {nameof(value)} = {value}");
 }