mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 15:31: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));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|