/
krasninja
/
querycat
Обзор
Документация
Войти
/
krasninja
/
querycat
Код
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/QueryCat.Backend.Core/Execution/NullExecutionScope.cs
20 строк
570 B
Ivan Kozhin
Add more code comments
22 янв 2024, 18:36
22 янв 2024, 18:36
cda3b0a
Код
Авторство
О чём код?
using QueryCat.Backend.Core.Types; namespace QueryCat.Backend.Core.Execution; /// <summary> /// Execution scope that does nothing. /// </summary> public sealed class NullExecutionScope : IExecutionScope { /// <summary> /// Static instance of <see cref="NullExecutionScope" />. /// </summary> public static NullExecutionScope Instance { get; } = new(); /// <inheritdoc /> public IDictionary<string, VariantValue> Variables { get; } = new Dictionary<string, VariantValue>(); /// <inheritdoc /> public IExecutionScope? Parent => null; }