示例#1
0
        public CancellationManager CreateChildManager()
        {
            var manager = new CancellationManager(this);

            lock (_sourceLocker)
            {
                this.Children.Add(manager);
            }

            return(manager);
        }
示例#2
0
 protected CancellationManager(CancellationManager parent)
     : this()
 {
     this.Parent = parent;
 }