mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
b2d2019874
* Checkpoint * Update workflows/DeepResearch.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Comment * Fix comment * Update package version * Fix nuget haxx * Checkpoint * Code complete * Testing * Message content workaround * Add sequential flow * Checkpoint * Integration test project * Checkpoint * Checkpoint cleanup * Complete * Checkpoint * Fix tests * Comment cleanup * Namespace * Formatting * Analyzer updates * Workflow update * Fixed! * Update dotnet/tests/Microsoft.Agents.Workflows.Declarative.UnitTests/DeclarativeWorkflowTest.cs Co-authored-by: Tao Chen <taochen@microsoft.com> * Fix build error * Purge "immutable" set and dictionary * Fix as task * Collection expression * Another * Frozen => Readonly (perf) * Fix * Namespace * Checkpoint * Add test * Fix * Rollback workflow edit * nitty --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Tao Chen <taochen@microsoft.com>
35 lines
948 B
C#
35 lines
948 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using Microsoft.Agents.Workflows.Declarative.Extensions;
|
|
using Microsoft.Bot.ObjectModel;
|
|
|
|
namespace Microsoft.Agents.Workflows.Declarative;
|
|
|
|
/// <summary>
|
|
/// Event that indicates a declarative action has completed.
|
|
/// </summary>
|
|
public sealed class DeclarativeActionCompletedEvent : WorkflowEvent
|
|
{
|
|
/// <summary>
|
|
/// The declarative action identifier.
|
|
/// </summary>
|
|
public string ActionId { get; }
|
|
|
|
/// <summary>
|
|
/// The declarative action type name.
|
|
/// </summary>
|
|
public string ActionType { get; }
|
|
|
|
/// <summary>
|
|
/// Identifier of the parent action.
|
|
/// </summary>
|
|
public string? ParentActionId { get; }
|
|
|
|
internal DeclarativeActionCompletedEvent(DialogAction action) : base(action)
|
|
{
|
|
this.ActionId = action.GetId();
|
|
this.ActionType = action.GetType().Name;
|
|
this.ParentActionId = action.GetParentId();
|
|
}
|
|
}
|