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. ///