Class PriorityExtensions
Inheritance
System.Object
PriorityExtensions
Assembly: Eco.Core.dll
Syntax
public static class PriorityExtensions : Object
Methods
GetPriority(Type)
Declaration
public static int GetPriority(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Int32 |
|
OrderByPriority<T>(IEnumerable<T>)
Order a list of objects by their type's priority, calculating relative priorities as needed.
Declaration
public static IEnumerable<T> OrderByPriority<T>(this IEnumerable<T> list)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
list |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<T> |
|
Type Parameters