Example #1
0
 public CssTreeLock(CssTree tree, bool readOnly)
 {
     if (tree.AcquireLock(readOnly, waitForReadAccess: false))
     {
         _tree     = tree;
         _readOnly = readOnly;
     }
 }
Example #2
0
 public void Dispose()
 {
     if (_tree != null)
     {
         _tree.ReleaseLock(_readOnly);
         _tree = null;
     }
 }
Example #3
0
 internal CssTreeUpdateEventArgs(CssTree tree)
 {
     Tree = tree;
 }