We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf00dc commit d7dae33Copy full SHA for d7dae33
src/DurableSDK/OrchestrationContext.cs
@@ -36,5 +36,19 @@ public class OrchestrationContext
36
internal OrchestrationActionCollector OrchestrationActionCollector { get; } = new OrchestrationActionCollector();
37
38
internal object CustomStatus { get; set; }
39
+
40
+ public string Version
41
+ {
42
+ get
43
44
+ if (History == null)
45
46
+ return null;
47
+ }
48
49
+ var executionStartedEvent = Array.Find(History, e => e.EventType == HistoryEventType.ExecutionStarted);
50
+ return executionStartedEvent?.Version;
51
52
53
}
54
0 commit comments