Пример #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;
 }