Adding ReflectExecutors method to Workflow. (#3389)

This commit is contained in:
Shyju Krishnankutty
2026-01-22 15:21:22 -08:00
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>