mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-07 20:58:44 +00:00
13 lines
210 B
C#
13 lines
210 B
C#
|
using System;
|
|||
|
|
|||
|
namespace Ryujinx.Common
|
|||
|
{
|
|||
|
public static class EnumExtensions
|
|||
|
{
|
|||
|
public static T[] GetValues<T>()
|
|||
|
{
|
|||
|
return (T[])Enum.GetValues(typeof(T));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|