示例#1
0
        public SegmentSelector(XmlDocument doc, XmlNamespaceManager nsmgr, CommentHandler commenter, LockHandler locker)
        {
            _nsmgr     = nsmgr;
            _doc       = doc;
            _locker    = locker;
            _commenter = commenter;

            _rnd = new Random();
        }
示例#2
0
 public LockHandler(XmlDocument doc, XmlNamespaceManager nsmgr, CommentHandler commenter)
 {
     _nsmgr         = nsmgr;
     _doc           = doc;
     _commenter     = commenter;
     _existingLocks = new List <XmlNode>();
     RefreshExistingLocks();
     _segments = new HashSet <string>();
 }