Minor cleanups

This commit is contained in:
Shyju Krishnankutty
2026-01-20 20:20:15 -08:00
Unverified
parent 530f8b389a
commit 00650f2525
27 changed files with 295 additions and 751 deletions
@@ -0,0 +1,34 @@
// Copyright (c) Microsoft. All rights reserved.
using System.Text.Json.Serialization;
namespace Microsoft.Agents.AI.DurableTask;
/// <summary>
/// Represents the result of a durable workflow orchestration execution.
/// </summary>
public sealed class DurableWorkflowRunResult
{
/// <summary>
/// Initializes a new instance of the <see cref="DurableWorkflowRunResult"/> class.
/// </summary>
/// <param name="workflowName">The name of the workflow that was executed.</param>
/// <param name="output">The output from the workflow execution.</param>
public DurableWorkflowRunResult(string workflowName, string output)
{
this.WorkflowName = workflowName;
this.Output = output;
}
/// <summary>
/// Gets the name of the workflow that was executed.
/// </summary>
[JsonPropertyName("workflowName")]
public string WorkflowName { get; }
/// <summary>
/// Gets the output from the workflow execution.
/// </summary>
[JsonPropertyName("output")]
public string Output { get; }
}