mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 19:06:40 +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));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|