Exemplo n.º 1
0
 public static IEnumerable <Lazy <TValue, TMetadata> > Order <TValue, TMetadata>(IEnumerable <Lazy <TValue, TMetadata> > itemsToOrder)
     where TValue : class
     where TMetadata : IOrderable
 {
     return(StableTopologicalSort.Order(itemsToOrder, OrderDependencyFunction));
 }
 internal IEnumerable <Lazy <T, M> > Order(IEnumerable <Lazy <T, M> > items)
 {
     return(StableTopologicalSort.Order(items, ContentTypeOrderDependencyFunction));
 }