Table of Contents

Method Sort

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

Sort(IComparer<ISyntaxNode>)

When implemented by a class, sorts the ISyntaxNode in the child list using the specified comparer.

void Sort(IComparer<ISyntaxNode> comparer)

Parameters

comparer IComparer<ISyntaxNode>

The IComparer implementation to use when comparing nodes.

Remarks

This method is recursive, so if some node in the child collection has children they are also sorted.