/
smwwiki
/
OneScript_fork
Обзор
Документация
Войти
/
smwwiki
/
OneScript_fork
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/OneScript.Core/Contexts/Enums/SystemEnumAttribute.cs
28 строк
824 B
EvilBeaver
SystemEnumAttribute перемещен в Core
17 май 2022, 23:04
17 май 2022, 23:04
a7b49cd
Код
Авторство
О чём код?
/*---------------------------------------------------------- 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 System; namespace OneScript.Contexts.Enums { [AttributeUsage(AttributeTargets.Class)] public class SystemEnumAttribute : Attribute, IEnumMetadataProvider { public SystemEnumAttribute(string name, string alias = "") { Name = name; Alias = alias; } public string Name { get; } public string Alias { get; } public string TypeUUID { get; set; } public string ValueTypeUUID { get; set; } } }