public void Cancel() { if (asyncFetchChildrenHelper != null) { asyncFetchChildrenHelper.Cancel(); } asyncFetchChildrenHelper = null; }
public override IEnumerable <TreeNodeData> CreateChildren() { Debug.Assert(asyncFetchChildrenHelper is null); asyncFetchChildrenHelper = new AsyncFetchChildrenHelper(this, () => asyncFetchChildrenHelper = null); yield break; }
public void Cancel() { asyncFetchChildrenHelper?.Cancel(); asyncFetchChildrenHelper = null; }
public void Cancel() { if (asyncFetchChildrenHelper != null) asyncFetchChildrenHelper.Cancel(); asyncFetchChildrenHelper = null; }
public override IEnumerable<ITreeNodeData> CreateChildren() { Debug.Assert(asyncFetchChildrenHelper == null); asyncFetchChildrenHelper = new AsyncFetchChildrenHelper(this, () => asyncFetchChildrenHelper = null); yield break; }