// Copyright (c) Microsoft. All rights reserved.
using System.Diagnostics;
using Microsoft.Agents.AI.Workflows;
namespace Microsoft.Agents.AI.DurableTask.Workflows;
///
/// Event raised when a durable workflow completes successfully.
///
[DebuggerDisplay("Completed: {Result}")]
public sealed class DurableWorkflowCompletedEvent : WorkflowEvent
{
///
/// Initializes a new instance of the class.
///
/// The serialized result of the workflow.
public DurableWorkflowCompletedEvent(string? result) : base(result)
{
this.Result = result;
}
///
/// Gets the serialized result of the workflow.
///
public string? Result { get; }
}