TopographicalSortExtensions.

TopographicalSort<T>(IEnumerable<T>, Func<T, IEnumerable<T>>) Method

Summary

Topographicals the sort.

Syntax

public static IEnumerable<T> TopographicalSort<T>(this IEnumerable<T> source, Func<T, IEnumerable<T>> dependencies)

Type Parameters

Name Description
T

Parameters

Name Type Description
source IEnumerable<T> The source.
dependencies Func<T, IEnumerable<T>> The dependencies.

Return Value

Type Description
IEnumerable<T>