Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 558c817

Browse files
committed
Generated command interface inherits xml comment.
1 parent 0f2e57d commit 558c817

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/PlasticCommand/Generator/Templates/CommandTemplate/CommandTemplate.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ namespace Templates // replace: to {{ Namespace }}
1515
// replace: internal to public
1616
internal interface TTFFGeneratedCommandInterface : ICommandSpecification<Generator.TTFFParameter, Generator.TTFFResult>
1717
{
18+
// add: {{ Comment }}
19+
Task<Generator.TTFFResult> ExecuteAsync(
20+
Generator.TTFFParameter param, CancellationToken token = default);
1821
}
1922

2023
// replace: internal to public

src/PlasticCommand/Generator/Templates/CommandTemplate/CommandTemplate.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ namespace {{ Namespace }}
1414

1515
public interface TTFFGeneratedCommandInterface : ICommandSpecification<Generator.TTFFParameter, Generator.TTFFResult>
1616
{
17+
{{ Comment }}
18+
Task<Generator.TTFFResult> ExecuteAsync(
19+
Generator.TTFFParameter param, CancellationToken token = default);
1720
}
1821

1922
public sealed class TTFFCommand : TTFFGeneratedCommandInterface
@@ -24,8 +27,7 @@ namespace {{ Namespace }}
2427
{
2528
this._provider = provider;
2629
}
27-
28-
{{ Comment }}
30+
2931
public async Task<Generator.TTFFResult> ExecuteAsync(
3032
Generator.TTFFParameter param, CancellationToken token = default)
3133
{

0 commit comments

Comments
 (0)