/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
src/ScriptEngine/Machine/IEventProcessor.cs
29 строк
973 B
EvilBeaver
Фиксация промежуточных доработок
12 мар 2025, 13:32
12 мар 2025, 13:32
96da51e
Код
Авторство
О чём код?
/*---------------------------------------------------------- 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; using OneScript.Execution; namespace ScriptEngine.Machine { public interface IEventProcessor { void AddHandler( IRuntimeContextInstance eventSource, string eventName, IRuntimeContextInstance handlerTarget, string handlerMethod); void RemoveHandler( IRuntimeContextInstance eventSource, string eventName, IRuntimeContextInstance handlerTarget, string handlerMethod); void HandleEvent(IRuntimeContextInstance eventSource, string eventName, IValue[] eventArgs, IBslProcess process); } }