mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Adding ReflectExecutors method to Workflow. (#3389)
This commit is contained in:
committed by
GitHub
Unverified
parent
b072df32c5
commit
9f893a32a6
@@ -51,6 +51,15 @@ public class Workflow
|
||||
);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the collection of executor bindings, keyed by their ID.
|
||||
/// </summary>
|
||||
/// <returns>A copy of the executor bindings dictionary. Modifications do not affect the workflow.</returns>
|
||||
public Dictionary<string, ExecutorBinding> ReflectExecutors()
|
||||
{
|
||||
return new Dictionary<string, ExecutorBinding>(this.ExecutorBindings);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the identifier of the starting executor of the workflow.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user