ThrowProxyShouldNeverBeUsed() static private méthode

static private ThrowProxyShouldNeverBeUsed ( ) : void
Résultat void
Exemple #1
0
 protected void SetInt16Value(string propertyName, short value)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
 }
Exemple #2
0
 protected byte[] GetByteArrayValue(string propertyName)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(null);
 }
Exemple #3
0
 protected void SetCharValueUnique(string propertyName, char value)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
 }
Exemple #4
0
 protected DateTimeOffset?GetNullableDateTimeOffsetValue(string propertyName)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(null);
 }
Exemple #5
0
 protected T GetObjectValue <T>(string propertyName) where T : RealmObject
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(null);
 }
Exemple #6
0
 protected bool?GetNullableBooleanValue(string propertyName)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(null);
 }
Exemple #7
0
 protected DateTimeOffset GetDateTimeOffsetValue(string propertyName)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(default(DateTimeOffset));
 }
Exemple #8
0
 protected double GetDoubleValue(string propertyName)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(0.0);
 }
Exemple #9
0
 protected bool GetBooleanValue(string propertyName)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(false);
 }
Exemple #10
0
 protected float?GetNullableSingleValue(string propertyName)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(null);
 }
Exemple #11
0
 protected float GetSingleValue(string propertyName)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(0.0f);
 }
 /// <summary>
 /// Clone method allowing you to override or customize the current path.
 /// </summary>
 /// <returns>An object with a fully-specified, canonical path.</returns>
 /// <param name="newConfigPath">Path to the realm, must be a valid full path for the current platform, relative subdirectory, or just filename.</param>
 public RealmConfiguration ConfigWithPath(string newConfigPath)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(null);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ThreadSafeReference.List{T}"/> class.
 /// </summary>
 /// <param name="value">
 /// The thread-confined <see cref="IList{T}"/> to create a thread-safe reference to. It must be a collection
 /// representing to-many relationship as a property of a <see cref="RealmObject"/>
 /// </param>
 /// <typeparam name="T">The type of the objects contained in the list.</typeparam>
 /// <returns>A <see cref="ThreadSafeReference"/> that can be passed to<c>Realm.ResolveReference(ThreadSafeReference.List)</c> on a different thread.</returns>
 public static List <T> Create <T>(IList <T> value)
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(null);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ThreadSafeReference.Object{T}"/> class.
 /// </summary>
 /// <param name="value">The thread-confined <see cref="RealmObject"/> to create a thread-safe reference to.</param>
 /// <typeparam name="T">The type of the <see cref="RealmObject"/>.</typeparam>
 /// <returns>A <see cref="ThreadSafeReference"/> that can be passed to <c>Realm.ResolveReference(ThreadSafeReference.Object)</c> on a different thread.</returns>
 public static Object <T> Create <T>(T value) where T : RealmObject
 {
     RealmPCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(null);
 }