/
smwwiki
/
OneScript_fork
Обзор
Документация
Войти
/
smwwiki
/
OneScript_fork
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/oscript/DoNothingHost.cs
38 строк
844 B
Andrey Ovsiankin
Переименовал MethodInfo в MethodSignature
04 июн 2021, 14:51
04 июн 2021, 14:51
3a46d7e
Код
Авторство
О чём код?
/*---------------------------------------------------------- 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.StandardLibrary; using ScriptEngine.HostedScript; namespace oscript { internal class DoNothingHost : IHostApplication { public void Echo(string str, MessageStatusEnum status = MessageStatusEnum.Ordinary) { } public void ShowExceptionInfo(Exception exc) { } public bool InputString(out string result, string prompt, int maxLen, bool multiline) { result = ""; return true; } public string[] GetCommandLineArguments() { return new[] { "" }; } } }