LockAndUndbindList() private method

private LockAndUndbindList ( ) : void
return void
コード例 #1
0
 public RealmHandle(RealmHandle root) : base(IntPtr.Zero, true)
 {
     if (root == null) // if we are a root object, we need a list for our children and Root is already null
     {
         _unbindList = GetUnbindList();
     }
     else
     {
         Root = root;
         root.LockAndUndbindList();
     }
 }
コード例 #2
0
ファイル: RealmHandle.cs プロジェクト: vitors/realm-dotnet
        protected RealmHandle(RealmHandle root, IntPtr handle) : base(IntPtr.Zero, true)
        {
            SetHandle(handle);

            // We can only have a single root
            root = root?.Root ?? root;
            if (root == null) // if we are a root object, we need a list for our children and Root is already null
            {
                _unbindList = GetUnbindList();
            }
            else
            {
                Root = root;
                root.LockAndUndbindList();
            }
        }
コード例 #3
0
ファイル: RealmHandle.cs プロジェクト: realm/realm-dotnet
 internal RealmHandle(RealmHandle root) : base(true)
 {
     if (root == null) // if we are a root object, we need a list for our children and Root is already null
     {
         _unbindList = GetUnbindList();
     }
     else
     {
         Root = root;
         root.LockAndUndbindList();
     }
 }