Show / Hide Table of Contents

Class PriorityExtensions

Inheritance
System.Object
PriorityExtensions
Namespace: Eco.Core.Utils
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
Name Description
T
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾