@@ -27,6 +27,10 @@ public class Calculator
2727 string expectedOutput = TestHelpers . WrapAndFormat (
2828 GeneratedClassName ,
2929 methodList : @"
30+ /// <summary>
31+ /// Calls the <see cref=""Calculator.Identity""/> activity.
32+ /// </summary>
33+ /// <inheritdoc cref=""TaskOrchestrationContext.CallActivityAsync(TaskName, object?, TaskOptions?)""/>
3034public static Task<int> CallIdentityAsync(this TaskOrchestrationContext ctx, int input, TaskOptions? options = null)
3135{
3236 return ctx.CallActivityAsync<int>(""Identity"", input, options);
@@ -57,6 +61,10 @@ public class Calculator
5761 string expectedOutput = TestHelpers . WrapAndFormat (
5862 GeneratedClassName ,
5963 methodList : @"
64+ /// <summary>
65+ /// Calls the <see cref=""Calculator.IdentityAsync""/> activity.
66+ /// </summary>
67+ /// <inheritdoc cref=""TaskOrchestrationContext.CallActivityAsync(TaskName, object?, TaskOptions?)""/>
6068public static Task<int> CallIdentityAsync(this TaskOrchestrationContext ctx, int input, TaskOptions? options = null)
6169{
6270 return ctx.CallActivityAsync<int>(""Identity"", input, options);
@@ -92,6 +100,10 @@ public class Calculator
92100 string expectedOutput = TestHelpers . WrapAndFormat (
93101 GeneratedClassName ,
94102 methodList : @"
103+ /// <summary>
104+ /// Calls the <see cref=""AzureFunctionsTests.Calculator.Identity""/> activity.
105+ /// </summary>
106+ /// <inheritdoc cref=""TaskOrchestrationContext.CallActivityAsync(TaskName, object?, TaskOptions?)""/>
95107public static Task<AzureFunctionsTests.Input> CallIdentityAsync(this TaskOrchestrationContext ctx, AzureFunctionsTests.Input input, TaskOptions? options = null)
96108{
97109 return ctx.CallActivityAsync<AzureFunctionsTests.Input>(""Identity"", input, options);
@@ -141,6 +153,10 @@ public class MyActivity : TaskActivity<{inputType}, {outputType}>
141153 string expectedOutput = TestHelpers . WrapAndFormat (
142154 GeneratedClassName ,
143155 methodList : $@ "
156+ /// <summary>
157+ /// Calls the <see cref=""MyActivity""/> activity.
158+ /// </summary>
159+ /// <inheritdoc cref=""TaskOrchestrationContext.CallActivityAsync(TaskName, object?, TaskOptions?)""/>
144160public static Task<{ outputType } > CallMyActivityAsync(this TaskOrchestrationContext ctx, { inputType } input, TaskOptions? options = null)
145161{{
146162 return ctx.CallActivityAsync<{ outputType } >(""MyActivity"", input, options);
@@ -214,13 +230,19 @@ public class MyOrchestrator : TaskOrchestrator<{inputType}, {outputType}>
214230 .ContinueWith(t => ({ outputType } )(t.Result ?? default({ outputType } )!), TaskContinuationOptions.ExecuteSynchronously);
215231}}
216232
233+ /// <summary>
234+ /// Schedules a new instance of the <see cref=""MyNS.MyOrchestrator""/> orchestrator.
235+ /// </summary>
217236/// <inheritdoc cref=""IOrchestrationSubmitter.ScheduleNewOrchestrationInstanceAsync""/>
218237public static Task<string> ScheduleNewMyOrchestratorInstanceAsync(
219238 this IOrchestrationSubmitter client, { expectedInputParameter } , StartOrchestrationOptions? options = null)
220239{{
221240 return client.ScheduleNewOrchestrationInstanceAsync(""MyOrchestrator"", input, options);
222241}}
223242
243+ /// <summary>
244+ /// Calls the <see cref=""MyNS.MyOrchestrator""/> sub-orchestrator.
245+ /// </summary>
224246/// <inheritdoc cref=""TaskOrchestrationContext.CallSubOrchestratorAsync(TaskName, object?, TaskOptions?)""/>
225247public static Task<{ outputType } > CallMyOrchestratorAsync(
226248 this TaskOrchestrationContext context, { expectedInputParameter } , TaskOptions? options = null)
@@ -291,13 +313,19 @@ public abstract class MyOrchestratorBase : TaskOrchestrator<{inputType}, {output
291313 .ContinueWith(t => ({ outputType } )(t.Result ?? default({ outputType } )!), TaskContinuationOptions.ExecuteSynchronously);
292314}}
293315
316+ /// <summary>
317+ /// Schedules a new instance of the <see cref=""MyNS.MyOrchestrator""/> orchestrator.
318+ /// </summary>
294319/// <inheritdoc cref=""IOrchestrationSubmitter.ScheduleNewOrchestrationInstanceAsync""/>
295320public static Task<string> ScheduleNewMyOrchestratorInstanceAsync(
296321 this IOrchestrationSubmitter client, { expectedInputParameter } , StartOrchestrationOptions? options = null)
297322{{
298323 return client.ScheduleNewOrchestrationInstanceAsync(""MyOrchestrator"", input, options);
299324}}
300325
326+ /// <summary>
327+ /// Calls the <see cref=""MyNS.MyOrchestrator""/> sub-orchestrator.
328+ /// </summary>
301329/// <inheritdoc cref=""TaskOrchestrationContext.CallSubOrchestratorAsync(TaskName, object?, TaskOptions?)""/>
302330public static Task<{ outputType } > CallMyOrchestratorAsync(
303331 this TaskOrchestrationContext context, { expectedInputParameter } , TaskOptions? options = null)
@@ -493,20 +521,30 @@ public static Task<string> MyOrchestrator([OrchestrationTrigger] TaskOrchestrati
493521 .ContinueWith(t => (string)(t.Result ?? default(string)!), TaskContinuationOptions.ExecuteSynchronously);
494522}}
495523
524+ /// <summary>
525+ /// Schedules a new instance of the <see cref=""MyNS.MyOrchestrator""/> orchestrator.
526+ /// </summary>
496527/// <inheritdoc cref=""IOrchestrationSubmitter.ScheduleNewOrchestrationInstanceAsync""/>
497528public static Task<string> ScheduleNewMyOrchestratorInstanceAsync(
498529 this IOrchestrationSubmitter client, int input, StartOrchestrationOptions? options = null)
499530{{
500531 return client.ScheduleNewOrchestrationInstanceAsync(""MyOrchestrator"", input, options);
501532}}
502533
534+ /// <summary>
535+ /// Calls the <see cref=""MyNS.MyOrchestrator""/> sub-orchestrator.
536+ /// </summary>
503537/// <inheritdoc cref=""TaskOrchestrationContext.CallSubOrchestratorAsync(TaskName, object?, TaskOptions?)""/>
504538public static Task<string> CallMyOrchestratorAsync(
505539 this TaskOrchestrationContext context, int input, TaskOptions? options = null)
506540{{
507541 return context.CallSubOrchestratorAsync<string>(""MyOrchestrator"", input, options);
508542}}
509543
544+ /// <summary>
545+ /// Calls the <see cref=""MyNS.MyActivity""/> activity.
546+ /// </summary>
547+ /// <inheritdoc cref=""TaskOrchestrationContext.CallActivityAsync(TaskName, object?, TaskOptions?)""/>
510548public static Task<string> CallMyActivityAsync(this TaskOrchestrationContext ctx, int input, TaskOptions? options = null)
511549{{
512550 return ctx.CallActivityAsync<string>(""MyActivity"", input, options);
0 commit comments