/
smwwiki
/
OneScript_fork
Обзор
Документация
Войти
/
smwwiki
/
OneScript_fork
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/ScriptEngine/Machine/Contexts/BslPredefinedAnnotation.cs
21 строка
706 B
EvilBeaver
Первый подход к реализации итераторов see #1269
27 дек 2023, 23:03
27 дек 2023, 23:03
205123c
Код
Авторство
О чём код?
/*---------------------------------------------------------- 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; using OneScript.Contexts; using OneScript.Localization; namespace ScriptEngine.Machine.Contexts { public static class BslPredefinedAnnotation { public static bool NameMatches(this BslAnnotationAttribute attribute, BilingualString names) { return names.HasName(attribute.Name, StringComparison.CurrentCultureIgnoreCase); } } }