From 9f893a32a657375cff7ce0712ab2d7b7f4a18cfe Mon Sep 17 00:00:00 2001 From: Shyju Krishnankutty Date: Thu, 22 Jan 2026 15:21:22 -0800 Subject: [PATCH] Adding ReflectExecutors method to Workflow. (#3389) --- dotnet/src/Microsoft.Agents.AI.Workflows/Workflow.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dotnet/src/Microsoft.Agents.AI.Workflows/Workflow.cs b/dotnet/src/Microsoft.Agents.AI.Workflows/Workflow.cs index dab109a6a2..7486c54914 100644 --- a/dotnet/src/Microsoft.Agents.AI.Workflows/Workflow.cs +++ b/dotnet/src/Microsoft.Agents.AI.Workflows/Workflow.cs @@ -51,6 +51,15 @@ public class Workflow ); } + /// + /// Gets the collection of executor bindings, keyed by their ID. + /// + /// A copy of the executor bindings dictionary. Modifications do not affect the workflow. + public Dictionary ReflectExecutors() + { + return new Dictionary(this.ExecutorBindings); + } + /// /// Gets the identifier of the starting executor of the workflow. ///