better-genshin-impact/Vision.WindowCapture/CaptureModeExtensions.cs
2023-09-28 19:19:46 +08:00

10 lines
244 B
C#

namespace Vision.WindowCapture;
public static class CaptureModeExtensions
{
public static CaptureModeEnum ToCaptureMode(this string modeName)
{
return (CaptureModeEnum) Enum.Parse(typeof(CaptureModeEnum), modeName);
}
}