Exemplo n.º 1
0
 /// <summary>
 /// Invoke an Task on a dedicated Realm thread.
 /// </summary>
 /// <returns>Task</returns>
 /// <param name="func">Func.</param>
 public Task InvokeAsync(Func <Realms.Realm, Task> func)
 {
     PCLHelpers.ThrowProxyShouldNeverBeUsed();
     return(Task.FromResult(false));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Commits the Realm transaction that is active on this thread.
 /// </summary>
 public void CommitTransaction()
 {
     PCLHelpers.ThrowProxyShouldNeverBeUsed();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Invoke the specified action on a dedicated Realm thread.
 /// </summary>
 /// <param name="action">Action.</param>
 public void Invoke(Action <Realms.Realm> action)
 {
     PCLHelpers.ThrowProxyShouldNeverBeUsed();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:SushiHangover.RealmThread"/> class.
 /// </summary>
 /// <param name="realmConfig">RealmConfigurationBase</param>
 /// <param name="autoCommmit">If set to <c>true</c> auto commmit open transaction on Dispose</param>
 public RealmThread(Realms.RealmConfigurationBase realmConfig, bool autoCommmit)
 {
     PCLHelpers.ThrowProxyShouldNeverBeUsed();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:SushiHangover.RealmThread"/> class.
 /// </summary>
 /// <param name="realmConfig">RealmConfigurationBase</param>
 public RealmThread(Realms.RealmConfigurationBase realmConfig) : this(realmConfig, false)
 {
     PCLHelpers.ThrowProxyShouldNeverBeUsed();
 }
Exemplo n.º 6
0
 /// <summary>
 /// Releases all resource used by the <see cref="T:SushiHangover.RealmThread"/> object.
 /// </summary>
 /// <remarks>Call <see cref="Dispose"/> when you are finished using the <see cref="T:SushiHangover.RealmThread"/>. The
 /// <see cref="Dispose"/> method leaves the <see cref="T:SushiHangover.RealmThread"/> in an unusable state. After
 /// calling <see cref="Dispose"/>, you must release all references to the <see cref="T:SushiHangover.RealmThread"/> so
 /// the garbage collector can reclaim the memory that the <see cref="T:SushiHangover.RealmThread"/> was occupying.</remarks>
 public void Dispose()
 {
     PCLHelpers.ThrowProxyShouldNeverBeUsed();
 }
Exemplo n.º 7
0
 /// <summary>
 /// Rollbacks the Ream transaction that is active on this thread.
 /// </summary>
 public void RollbackTransaction()
 {
     PCLHelpers.ThrowProxyShouldNeverBeUsed();
 }