Adding ReflectExecutors method to Workflow.

This commit is contained in:
Shyju Krishnankutty
2026-01-22 12:07:03 -08:00
Unverified
parent b4a71f00a3
commit ad4b732741
@@ -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>