AvalonStudio.TextEditor.Document.TextAnchorTree.Sibling C# (CSharp) 메소드

Sibling() 개인적인 정적인 메소드

private static Sibling ( TextAnchorNode node ) : TextAnchorNode
node TextAnchorNode
리턴 TextAnchorNode
		private static TextAnchorNode Sibling(TextAnchorNode node)
		{
			if (node == node.parent.left)
				return node.parent.right;
			return node.parent.left;
		}

Same methods

TextAnchorTree::Sibling ( TextAnchorNode node, TextAnchorNode parentNode ) : TextAnchorNode