/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
src/OneScript.StandardLibrary/PlatformTypeEnum.cs
36 строк
914 B
EvilBeaver
Упрощение инфраструктуры перечислений
16 май 2022, 21:30
16 май 2022, 21:30
6c05f21
Код
Авторство
О чём код?
/*---------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ----------------------------------------------------------*/ using OneScript.Contexts.Enums; namespace OneScript.StandardLibrary { [EnumerationType("ТипПлатформы", "PlatformType")] public enum PlatformTypeEnum { [EnumValue("Linux_x86")] Linux_x86, [EnumValue("Linux_x86_64")] Linux_x86_64, [EnumValue("MacOS_x86")] MacOS_x86, [EnumValue("MacOS_x86_64")] MacOS_x86_64, [EnumValue("Windows_x86")] Windows_x86, [EnumValue("Windows_x86_64")] Windows_x86_64, [EnumValue("Unknown")] Unknown, } }