예제 #1
0
 public void Cancel()
 {
     if (asyncFetchChildrenHelper != null)
     {
         asyncFetchChildrenHelper.Cancel();
     }
     asyncFetchChildrenHelper = null;
 }
예제 #2
0
파일: SearchNode.cs 프로젝트: xa8et67/dnSpy
 public override IEnumerable <TreeNodeData> CreateChildren()
 {
     Debug.Assert(asyncFetchChildrenHelper is null);
     asyncFetchChildrenHelper = new AsyncFetchChildrenHelper(this, () => asyncFetchChildrenHelper = null);
     yield break;
 }
예제 #3
0
 public void Cancel()
 {
     asyncFetchChildrenHelper?.Cancel();
     asyncFetchChildrenHelper = null;
 }
예제 #4
0
		public void Cancel() {
			if (asyncFetchChildrenHelper != null)
				asyncFetchChildrenHelper.Cancel();
			asyncFetchChildrenHelper = null;
		}
예제 #5
0
		public override IEnumerable<ITreeNodeData> CreateChildren() {
			Debug.Assert(asyncFetchChildrenHelper == null);
			asyncFetchChildrenHelper = new AsyncFetchChildrenHelper(this, () => asyncFetchChildrenHelper = null);
			yield break;
		}