/
krasninja
/
querycat
Обзор
Документация
Войти
/
krasninja
/
querycat
Код
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/QueryCat.Backend/Executor.cs
24 строки
623 B
Ivan Kozhin
Introduce IUriResolver, add ability to add custom
27 янв 2024, 07:29
27 янв 2024, 07:29
c53899f
Код
Авторство
О чём код?
using QueryCat.Backend.Core.Execution; namespace QueryCat.Backend; /// <summary> /// The default static implementation of execution thread. /// </summary> public static class Executor { private static readonly Lazy<IExecutionThread> _executionThreadLazy = new(Factory); /// <summary> /// Execution thread. /// </summary> public static IExecutionThread Thread => _executionThreadLazy.Value; private static IExecutionThread Factory() { return new ExecutionThreadBootstrapper() .WithStandardFunctions() .WithStandardUriResolvers() .Create(); } }