/
krasninja
/
querycat
Обзор
Документация
Войти
/
krasninja
/
querycat
Код
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/QueryCat.Backend.Core/Data/NullRowsOutput.cs
41 строка
750 B
Ivan Kozhin
Refactor execution thread creation and initialization
27 дек 2023, 07:45
27 дек 2023, 07:45
d832b07
Код
Авторство
О чём код?
using QueryCat.Backend.Core.Types; namespace QueryCat.Backend.Core.Data; /// <summary> /// The rows output that does nothing. /// </summary> public sealed class NullRowsOutput : IRowsOutput { public static NullRowsOutput Instance { get; } = new(); /// <inheritdoc /> public QueryContext QueryContext { get; set; } = NullQueryContext.Instance; /// <inheritdoc /> public RowsOutputOptions Options { get; } = new(); private NullRowsOutput() { } /// <inheritdoc /> public void Open() { } /// <inheritdoc /> public void Close() { } /// <inheritdoc /> public void Reset() { } /// <inheritdoc /> public void WriteValues(in VariantValue[] values) { } }