mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 01:55:27 +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));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|