Skip to content

Commit 224ca93

Browse files
Output parameters: one name rule for every named output, and capture fixes (#297)
* Captures: refuse a command that re-implements its reader A capture reads the outputs through the library's own reader path. A command type that re-implements IExecuteReader replaces that path, so a capture on it used to be bypassed: the library took its own reader and ignored the override. It is now refused. A capture made on a mapped query throws NotSupportedException at the capture call. A capture made on the command throws InvalidOperationException when the query runs, at the one place every captured run passes, and completes every capture with the same exception, so none is left pending. Both messages name the command type and say to capture on a command that does not re-implement the interface, or to read the outputs with ExecuteOutputAsync. The library's own command types are decided by an exact type test, with no lookup. Any other type is examined once with reflection (every interface that extends IExecuteReader, and the declaring type of each method that implements it) and the answer is kept in a table that does not hold the type alive. A type that cannot be examined is refused with a message that says so; that failure is not cached. A call without a capture is not affected. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Output parameters: one name rule for every named output A named output (ExecuteOutputAsync<T>(name), its decimal forms, and CaptureOutput<T>(name, ...) / CaptureOutputDecimal(name, ...) on a command and on a mapped query) now finds its parameter the way the name of AddParam does: exactly, else ignoring case, else ignoring case and underscores, else without a common prefix such as p_; a lower rule applies only when no higher one matches. "totalCount" finds @total_count. [Column("name")] members keep exact matching. A name that fits two parameters at the same level throws a message that says to pass the exact parameter name, not to use [Column]. Two named captures that resolve to one parameter fail the run and say how to fix it; the call cannot see that, because it compares the names as written. Docs and release notes state the one rule. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Captures: a run fills every capture its command has when it starts A mapped query that had a capture of its own took a snapshot of its command's captures when the capture was added, so a capture added to the command afterwards was never armed. The query now keeps only its own captures, and a run combines the command's captures as they are then (first, so the order is stable) with the query's own. The combined set is kept per command set, so the calls of one run get the same set and layout, and a query or command with nothing to combine allocates nothing new. A capture added to the query is still checked against the command's current captures at the call. A command capture added later that reads what a query capture reads is found when the terminal, the stream or the buffer is called, and throws before anything is armed or run. A stream or buffer takes the command's captures when it is made. The stall timeout test now also checks that the capture faults with the same type and message as the loop; it passes without a code change. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Captures: the return-code check moves to the run, and the early-stop cost and the claims in the docs are made explicit A capture of the return code was refused at the capture call when the command was not a stored procedure. The command's type is a public setter, so a valid chain written in the other order (the capture first, the type set after) was refused. The check now happens only when the run starts, where it already was, and fails the terminal and the capture with the same message. The unused procedure flag of the capture runner and of the capture set is removed. Leaving a captured stream early still reads the rest of the response so every output arrives; the docs now say that the loop's exit waits for it, that the stall timeout does not bound the wait, that a token the caller passed still cancels the read, and what to do instead. A test pins that a break after one row of many still fills the capture. ExecuteReturnAsync with a model documents and tests that it throws at the call. Documentation claims without a test are now either proven (a compile test for the ambiguous byte zero call on the SQL Server command) or softened (SQLite's exception type; the sample's cast of a NULL output). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Docs for the AddParam database-type trap, a pin for ordinal gaps, and style fixes AddParam("@id", DbType.Int32) on a SQL Server command binds to the value overload and sends the enum as the value. No code guard works (a derived overload would capture AddParam("x", 0), and on the generic base the existing trap collides), so the shared AddParam remarks now say that a DbType passed there is a value, and that the database type goes in the third argument. An output model with Order values 0 and 2 is pinned to behave as a row model does: the gap is not read, and the map accepts the null label of the gap. Members of internal types that were marked internal are public, and the list of refused terminals in a capture test is grouped. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Captures: review fixes to the docs and tests Docs and comments: - A capture on a command that re-implements IExecuteReader is refused when a mapped query over the command runs; the command's own terminals do not use the re-implemented reader. Reworded in the MappedQuery comment, the shared output docs and the expressive commands article. - The capture name docs say that the same name, ignoring case, fails at the call, and that only a looser match fails the run. - ReaderReplacement.LookupCount counts one per successful lookup; a failed lookup is retried and counted again. - WithCapture lists the lookup failure it can throw. - Cut the repeated name-rule, late-capture, and ordering wording. - Re-indented one comment in the output parameters sample. Tests: - A late conflicting command capture keeps its captures and asserts that they stay unarmed, with the fix text, and a synchronous terminal case. - A capture added after a stream or buffer is made is not filled. - A named capture and ExecuteOutputAsync find a p_ prefixed parameter. - ExecuteOutputAsync works on a command that re-implements its reader. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent ac3d3e3 commit 224ca93

27 files changed

Lines changed: 1175 additions & 120 deletions

‎Source/Core/Capture.cs‎

Lines changed: 76 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -408,24 +408,14 @@ sealed class CaptureSet : CaptureHolder
408408
/// <param name="source">The new capture.</param>
409409
/// <param name="onQuery"><see langword="true"/> when it is attached on a
410410
/// mapped query.</param>
411-
/// <param name="isProcedure">Whether the command is a stored
412-
/// procedure.</param>
413411
/// <returns>The new set.</returns>
414-
/// <exception cref="InvalidOperationException">The capture reads the return
415-
/// code of a command that is not a stored procedure, or reads what another
416-
/// capture reads.</exception>
412+
/// <exception cref="InvalidOperationException">The capture reads what
413+
/// another capture reads.</exception>
417414
public static CaptureSet With(
418415
CaptureSet? set,
419416
ICaptureSource source,
420-
bool onQuery,
421-
bool isProcedure)
417+
bool onQuery)
422418
{
423-
if (source.ReadsReturn && !isProcedure)
424-
{
425-
throw new InvalidOperationException(
426-
CaptureMessages.NotProcedure(source));
427-
}
428-
429419
if (set is null) return new([source], onQuery);
430420

431421
string noun = onQuery ? "query" : "command";
@@ -435,9 +425,67 @@ public static CaptureSet With(
435425
return new([.. set.Sources, source], onQuery || set.OnQuery);
436426
}
437427

428+
/// <summary>
429+
/// Returns what a run of a query fills when the query has captures of its
430+
/// own and its command has some too: the command's, then the query's.
431+
/// </summary>
432+
/// <param name="command">The command's captures.</param>
433+
/// <param name="own">The query's own captures.</param>
434+
/// <returns>A set of the command's sources, then the query's own.</returns>
435+
/// <exception cref="InvalidOperationException">A capture of the command
436+
/// and one of the query read the same output or the return code: the
437+
/// command got its capture after the query was made.</exception>
438+
public static CaptureSet Combine(CaptureSet command, CaptureSet own)
439+
{
440+
foreach (ICaptureSource first in command.Sources)
441+
{
442+
foreach (ICaptureSource second in own.Sources)
443+
ThrowIfSameOwner(first, second, "query");
444+
}
445+
446+
return new([.. command.Sources, .. own.Sources], onQuery: true);
447+
}
448+
449+
/// <summary>
450+
/// The last set made by <see cref="CombinedWith"/>, with the command's set
451+
/// it was made for.
452+
/// </summary>
453+
sealed class Combination(CaptureSet command, CaptureSet result)
454+
{
455+
public readonly CaptureSet Command = command;
456+
457+
public readonly CaptureSet Result = result;
458+
}
459+
460+
Combination? _combined;
461+
462+
/// <summary>
463+
/// Gets what a run fills: the command's captures as they are now,
464+
/// combined with these (see <see cref="Combine"/>).
465+
/// </summary>
466+
/// <remarks>
467+
/// The last answer is kept for the command's set it was made for, so the
468+
/// calls of one run (a stream and its reader, say) get the same set.
469+
/// </remarks>
470+
/// <param name="command">The command's captures now.</param>
471+
/// <returns>The set the run claims.</returns>
472+
/// <exception cref="InvalidOperationException">See
473+
/// <see cref="Combine"/>.</exception>
474+
public CaptureSet CombinedWith(CaptureSet command)
475+
{
476+
Combination? last = Volatile.Read(ref _combined);
477+
if (last is not null && ReferenceEquals(last.Command, command))
478+
return last.Result;
479+
480+
// Two threads may both combine: the sets are the same.
481+
var made = new Combination(command, Combine(command, this));
482+
Volatile.Write(ref _combined, made);
483+
return made.Result;
484+
}
485+
438486
// One owner per output and per return code: a model reads every output, so
439487
// it shares them with no other capture.
440-
static void ThrowIfSameOwner(
488+
public static void ThrowIfSameOwner(
441489
ICaptureSource first,
442490
ICaptureSource second,
443491
string noun)
@@ -983,4 +1031,18 @@ public static string NotFromCommand(ICaptureSource source, Type reader)
9831031
+ $"this query reads from {reader.Name}, which cannot. "
9841032
+ "Build it from an expressive command, "
9851033
+ "or read the outputs with ExecuteOutputAsync.";
1034+
1035+
public static string ReplacedReader(string display, Type command)
1036+
=> $"{display} reads through the library's reader, "
1037+
+ $"which {command.Name} replaces by re-implementing IExecuteReader, "
1038+
+ "so the outputs would never be read. "
1039+
+ "Capture on a command that does not re-implement IExecuteReader, "
1040+
+ "or read the outputs with ExecuteOutputAsync.";
1041+
1042+
public static string ReplacementUnknown(Type command, string reason)
1043+
=> $"Could not tell whether {command.Name} re-implements "
1044+
+ $"IExecuteReader, which a capture needs to know ({reason}). "
1045+
+ "Read the outputs with ExecuteOutputAsync, "
1046+
+ "or capture on a command type that can be examined "
1047+
+ "(reflection on its interfaces must be allowed).";
9861048
}

‎Source/Core/ExpressiveCommand.cs‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,11 @@ protected override void AddParams(IDbCommand command)
135135
else if (p.NullDbType is { } nullType) np.DbType = nullType; // a NULL carries no type, so give it the argument's
136136
}
137137
}
138+
139+
/// <summary>
140+
/// Gets whether this is exactly <see cref="ExpressiveCommand"/>, which a capture
141+
/// needs no lookup for.
142+
/// </summary>
143+
internal override bool IsLibraryCommand
144+
=> GetType() == typeof(ExpressiveCommand);
138145
}

‎Source/Core/ExpressiveCommandBase.Capture.cs‎

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ interface ICaptureRunner
1717
/// <see langword="null"/>.</summary>
1818
CaptureSet? Captures { get; }
1919

20-
/// <summary>Gets whether the command is a stored procedure, which has a
21-
/// return code.</summary>
22-
bool IsProcedure { get; }
20+
/// <summary>Gets whether the command's type re-implements
21+
/// <see cref="IExecuteReader"/>, which a capture cannot read
22+
/// through.</summary>
23+
/// <exception cref="InvalidOperationException">The type could not be
24+
/// examined.</exception>
25+
bool ReplacesReader { get; }
2326

2427
/// <summary>Executes a reader on the command, filling the given
2528
/// captures.</summary>
@@ -97,6 +100,8 @@ public TThis CaptureOutput<TOut>(out DbCapture<TOut> output)
97100
/// <include file="Output.docs.xml"
98101
/// path="docs/members[@name='capture-named']/*" />
99102
/// <include file="Output.docs.xml"
103+
/// path="docs/members[@name='out-name-param']/*" />
104+
/// <include file="Output.docs.xml"
100105
/// path="docs/members[@name='capture-returns-command']/*" />
101106
public TThis CaptureOutput<TValue>(string name, out DbCapture<TValue> value)
102107
{
@@ -114,6 +119,8 @@ public TThis CaptureOutput<TValue>(string name, out DbCapture<TValue> value)
114119
/// <include file="Output.docs.xml"
115120
/// path="docs/members[@name='capture-shaped']/*" />
116121
/// <include file="Output.docs.xml"
122+
/// path="docs/members[@name='out-name-param']/*" />
123+
/// <include file="Output.docs.xml"
117124
/// path="docs/members[@name='capture-returns-command']/*" />
118125
public TThis CaptureOutput<TValue>(
119126
string name,
@@ -137,6 +144,8 @@ public TThis CaptureOutput<TValue>(
137144
/// <include file="Output.docs.xml"
138145
/// path="docs/members[@name='capture-decimal']/*" />
139146
/// <include file="Output.docs.xml"
147+
/// path="docs/members[@name='out-name-param']/*" />
148+
/// <include file="Output.docs.xml"
140149
/// path="docs/members[@name='capture-returns-command']/*" />
141150
public TThis CaptureOutputDecimal(
142151
string name,
@@ -173,14 +182,24 @@ void Attach(ICaptureSource source)
173182
=> _captures = CaptureSet.With(
174183
_captures,
175184
source,
176-
onQuery: false,
177-
Type == CommandType.StoredProcedure);
185+
onQuery: false);
178186

179187
CaptureSet? ICaptureRunner.Captures
180188
=> _captures;
181189

182-
bool ICaptureRunner.IsProcedure
183-
=> Type == CommandType.StoredProcedure;
190+
/// <summary>
191+
/// Gets whether this is exactly one of the library's own command types,
192+
/// which never re-implement the reader, so a capture needs no lookup.
193+
/// </summary>
194+
/// <remarks>
195+
/// Overridden by each concrete library command as an exact type test
196+
/// (those types are not sealed, and a subclass is looked up).
197+
/// </remarks>
198+
internal virtual bool IsLibraryCommand
199+
=> false;
200+
201+
bool ICaptureRunner.ReplacesReader
202+
=> !IsLibraryCommand && ReaderReplacement.Of(GetType());
184203

185204
ValueTask<TResult> ICaptureRunner.ExecuteReaderAsync<TState, TResult>(
186205
CaptureHolder captures,
@@ -234,8 +253,8 @@ async ValueTask<TResult> ExecuteCapturedAsync<TState, TResult>(
234253
"ExecuteOutputAsync refuses a command that carries a capture "
235254
+ "at its call.");
236255

237-
// The kind was checked at the capture call; the command's type can
238-
// change after it.
256+
// Checked here, not at the capture call: the command's type can be
257+
// set after a capture is added.
239258
if (run.Set.ReadsReturn && Type != CommandType.StoredProcedure)
240259
{
241260
throw run.Set.NotProcedure();

‎Source/Core/ExpressiveCommandBase.Output.cs‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static async (cmd, _, run) =>
9595
/// and reads one output parameter, converted to <typeparamref name="T"/>.
9696
/// </summary>
9797
/// <remarks>
98-
/// <include file="Output.docs.xml" path="docs/members[@name='out-name-exact']/*" />
98+
/// <include file="Output.docs.xml" path="docs/members[@name='out-name-rule']/*" />
9999
/// <include file="Output.docs.xml" path="docs/members[@name='out-null-input']/*" />
100100
/// <include file="Output.docs.xml" path="docs/members[@name='out-return-name']/*" />
101101
/// <include file="Output.docs.xml" path="docs/members[@name='out-datetime']/*" />
@@ -220,7 +220,7 @@ static async ValueTask<decimal> NotNullAsync(string name, ValueTask<decimal?> va
220220
/// </summary>
221221
/// <remarks>
222222
/// <include file="Output.docs.xml" path="docs/members[@name='out-decimal-why']/*" />
223-
/// <include file="Output.docs.xml" path="docs/members[@name='out-name-exact']/*" />
223+
/// <include file="Output.docs.xml" path="docs/members[@name='out-name-rule']/*" />
224224
/// <include file="Output.docs.xml" path="docs/members[@name='out-null-input']/*" />
225225
/// <include file="Output.docs.xml" path="docs/members[@name='out-return-name']/*" />
226226
/// <include file="Output.docs.xml" path="docs/members[@name='out-decimal-choice']/*" />
@@ -411,7 +411,15 @@ void ResolveOutputs(OutputRun run, NameSet? names)
411411
continue;
412412
}
413413

414-
resolved[i] = (member.Exact ? real!.Find(member.Name)?.Real : real!.Match(member.Name, Command, member.Display))
414+
resolved[i] = (member.Exact
415+
? real!.Find(member.Name)?.Real
416+
: member.Named
417+
? real!.MatchName(
418+
member.Name,
419+
Command,
420+
member.Display,
421+
"Pass the exact parameter name, naming one of those two.")
422+
: real!.Match(member.Name, Command, member.Display))
415423
?? throw NoOutputMatch(member, real.Names, where);
416424
}
417425

@@ -425,7 +433,9 @@ void ResolveOutputs(OutputRun run, NameSet? names)
425433

426434
throw new InvalidOperationException(
427435
$"{layout.Members[i].Display} and {layout.Members[j].Display} both resolve to the output parameter '{first}' of {where}, so one value would be read under two meanings. "
428-
+ "Name each member's parameter with [Column(\"name\")], or remove one of them.");
436+
+ (layout.Members[i].Named || layout.Members[j].Named
437+
? "Name one of them exactly as the parameter is declared (a name that matches exactly wins over one that matches only ignoring case or underscores), or drop one."
438+
: "Name each member's parameter with [Column(\"name\")], or remove one of them."));
429439
}
430440
}
431441

‎Source/Core/ExpressiveCommandBase.cs‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,10 @@ protected TThis AddParam(Param param)
396396
/// A <paramref name="type"/> you pass always wins.
397397
/// The <see cref="object"/> overloads have no type to use:
398398
/// pass a database type.
399+
/// A <see cref="DbType"/> passed as the value, as in
400+
/// <c>AddParam("@id", DbType.Int32)</c> on a command whose database type
401+
/// is not <see cref="DbType"/> (the SQL Server commands), is a value, and
402+
/// is sent as one: pass the database type as the third argument.
399403
/// </remarks>
400404
/// <exception cref="ArgumentNullException"><paramref name="name"/> is <see langword="null"/>.</exception>
401405
/// <exception cref="ArgumentException"><paramref name="name"/> is empty or white space.</exception>
@@ -1947,6 +1951,13 @@ ValueTask<T> IExecuteReader.ExecuteReaderAsync<T>(Func<IDataReader, ValueTask<T>
19471951
/// <typeparamref name="T"/>.
19481952
/// </summary>
19491953
/// <inheritdoc cref="SyncExpressiveExtensions.ExecuteReturn{T}(IExecuteCommand)"/>
1954+
/// <exception cref="InvalidOperationException">
1955+
/// At the call, before anything runs and not in the returned task:
1956+
/// <typeparamref name="T"/> is a model, which cannot hold the return code.
1957+
/// Use <c>int</c> (or <c>int?</c>, <c>long</c>, an enum), or read it with
1958+
/// a <c>ReturnValue</c> member of an output model
1959+
/// (<c>ExecuteOutputAsync&lt;TOut&gt;()</c>).
1960+
/// </exception>
19501961
/// <include file="Commands.docs.xml" path="docs/members[@name='token']/*" />
19511962
public ValueTask<T> ExecuteReturnAsync<T>(
19521963
CancellationToken cancellationToken = default)

‎Source/Core/ExpressiveDbCommand.cs‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,11 @@ protected override void AddParams(DbCommand command)
148148
else if (p.NullDbType is { } nullType) np.DbType = nullType; // a NULL carries no type, so give it the argument's
149149
}
150150
}
151+
152+
/// <summary>
153+
/// Gets whether this is exactly <see cref="ExpressiveDbCommand"/>, which a capture
154+
/// needs no lookup for.
155+
/// </summary>
156+
internal override bool IsLibraryCommand
157+
=> GetType() == typeof(ExpressiveDbCommand);
151158
}

‎Source/Core/MappedQuery.Capture.cs‎

Lines changed: 44 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,18 @@ readonly partial struct MappedQueryCore<T>
1616
// CancelOnEarlyStop(). Without a capture it costs a type check of the
1717
// command and a field read.
1818
CaptureHolder? Captured()
19-
=> _captures ?? (_command as ICaptureRunner)?.Captures;
19+
{
20+
if (_captures is not CaptureSet own)
21+
{
22+
return _captures ?? (_command as ICaptureRunner)?.Captures;
23+
}
24+
25+
// The command's captures as they are now, then the query's own: a
26+
// capture added to the command after the query was made is filled too.
27+
return _command is ICaptureRunner { Captures: { } command }
28+
? own.CombinedWith(command)
29+
: own;
30+
}
2031

2132
/// <summary>
2233
/// Gets the run a stream or a buffer claimed, or <see langword="null"/>.
@@ -29,11 +40,15 @@ public CaptureRun? CapturedRun
2940
/// </summary>
3041
/// <param name="source">The capture, its arguments checked.</param>
3142
/// <returns>A copy of the query that carries the capture.</returns>
32-
/// <exception cref="InvalidOperationException">A default value, a capture
33-
/// of the return code of a command that is not a stored procedure, or a
43+
/// <exception cref="InvalidOperationException">A default value, or a
3444
/// capture that reads what another one reads.</exception>
45+
/// <exception cref="InvalidOperationException">The command's type could not
46+
/// be examined for a re-implemented reader (see
47+
/// <see cref="ReaderReplacement.Of"/>).</exception>
3548
/// <exception cref="NotSupportedException">The query does not read from an
36-
/// expressive command.</exception>
49+
/// expressive command, or the command's type re-implements
50+
/// <see cref="IExecuteReader"/>, which a capture cannot read
51+
/// through.</exception>
3752
public MappedQueryCore<T> WithCapture(ICaptureSource source)
3853
{
3954
EnsureCommand();
@@ -47,12 +62,27 @@ public MappedQueryCore<T> WithCapture(ICaptureSource source)
4762
throw new NotSupportedException(
4863
CaptureMessages.NotFromCommand(source, _command!.GetType()));
4964
}
65+
if (runner.ReplacesReader)
66+
{
67+
throw new NotSupportedException(
68+
CaptureMessages.ReplacedReader(
69+
source.Display,
70+
_command!.GetType()));
71+
}
72+
73+
// The query keeps only its own. A run takes the command's captures as
74+
// they are then, first, so the query and the command share the first
75+
// capture and one run claims them. A conflict with what the command
76+
// has now is refused here, without storing it.
77+
if (runner.Captures is { } current)
78+
{
79+
foreach (ICaptureSource other in current.Sources)
80+
CaptureSet.ThrowIfSameOwner(other, source, "query");
81+
}
5082

51-
// Appended to the command's, so the query and the command share the
52-
// first capture, and one run claims them.
5383
CaptureSet captures = CaptureSet.With(
54-
_captures as CaptureSet ?? runner.Captures,
55-
source, onQuery: true, runner.IsProcedure);
84+
_captures as CaptureSet,
85+
source, onQuery: true);
5686
return new(
5787
_command, _call, _source,
5888
_skip, _take, Options, Config, captures);
@@ -137,6 +167,8 @@ public MappedQuery<T> CaptureOutput<TOut>(out DbCapture<TOut> output)
137167
/// <include file="Output.docs.xml"
138168
/// path="docs/members[@name='capture-named']/*" />
139169
/// <include file="Output.docs.xml"
170+
/// path="docs/members[@name='out-name-param']/*" />
171+
/// <include file="Output.docs.xml"
140172
/// path="docs/members[@name='capture-query']/*" />
141173
public MappedQuery<T> CaptureOutput<TValue>(
142174
string name,
@@ -156,6 +188,8 @@ public MappedQuery<T> CaptureOutput<TValue>(
156188
/// <include file="Output.docs.xml"
157189
/// path="docs/members[@name='capture-shaped']/*" />
158190
/// <include file="Output.docs.xml"
191+
/// path="docs/members[@name='out-name-param']/*" />
192+
/// <include file="Output.docs.xml"
159193
/// path="docs/members[@name='capture-query']/*" />
160194
public MappedQuery<T> CaptureOutput<TValue>(
161195
string name,
@@ -179,6 +213,8 @@ public MappedQuery<T> CaptureOutput<TValue>(
179213
/// <include file="Output.docs.xml"
180214
/// path="docs/members[@name='capture-decimal']/*" />
181215
/// <include file="Output.docs.xml"
216+
/// path="docs/members[@name='out-name-param']/*" />
217+
/// <include file="Output.docs.xml"
182218
/// path="docs/members[@name='capture-query']/*" />
183219
public MappedQuery<T> CaptureOutputDecimal(
184220
string name,

0 commit comments

Comments
 (0)