/
smwwiki
/
OneScript_fork
Обзор
Документация
Войти
/
smwwiki
/
OneScript_fork
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/OneScript.Web.Server/EngineBuilderExtensions.cs
21 строка
677 B
akpaevj
Splitting the WebServer implementation into a separated project
13 июн 2024, 11:47
13 июн 2024, 11:47
df3fabc
Код
Авторство
О чём код?
/*---------------------------------------------------------- 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.StandardLibrary.Collections; using ScriptEngine.Hosting; using ScriptEngine.Machine; namespace OneScript.Web.Server { public static class EngineBuilderExtensions { public static ExecutionContext AddWebServer(this ExecutionContext env) { return env.AddAssembly(typeof(WebServer).Assembly); } } }