From ebf1b7c2e9b6dde9650a8763df1d4f289f742ddd Mon Sep 17 00:00:00 2001 From: Shyju Krishnankutty Date: Thu, 22 Jan 2026 12:22:09 -0800 Subject: [PATCH] Adding ReflectExecutors method to Workflow. --- 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 Dictionary ReflectPorts() ); } + /// + /// 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. ///