예제 #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;
 }