/
smwwiki
/
OneScript_fork
Обзор
Документация
Войти
/
smwwiki
/
OneScript_fork
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/ScriptEngine/Machine/IEventProcessor.cs
28 строк
925 B
EvilBeaver
IRuntimeContextInstance перенесен в Core
31 май 2022, 09:39
31 май 2022, 09:39
3e0d191
Код
Авторство
О чём код?
/*---------------------------------------------------------- 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; 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); } }