File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 7
7
</PropertyGroup >
8
8
9
9
<ItemGroup >
10
- <PackageReference Include =" Microsoft.DurableTask.Client" Version =" 1.0 .0" />
11
- <PackageReference Include =" Microsoft.DurableTask.Worker" Version =" 1.0 .0" />
10
+ <PackageReference Include =" Microsoft.DurableTask.Client" Version =" 1.10 .0" />
11
+ <PackageReference Include =" Microsoft.DurableTask.Worker" Version =" 1.10 .0" />
12
12
<PackageReference Include =" Microsoft.PowerShell.SDK" Version =" 7.2.1" PrivateAssets =" all" />
13
13
</ItemGroup >
14
14
</Project >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public class OrchestrationContext
24
24
/// </summary>
25
25
[ DataMember ]
26
26
public object Input
27
- {
27
+ {
28
28
get => DTFxContext ? . GetInput < object > ( ) ;
29
29
}
30
30
@@ -77,5 +77,10 @@ public DateTime CurrentUtcDateTime
77
77
/// </summary>
78
78
[ DataMember ]
79
79
internal HistoryEvent [ ] History { get ; set ; }
80
+
81
+ /// <summary>
82
+ /// Gets the version of the current orchestration instance, which was set when the instance was created.
83
+ /// </summary>
84
+ public string Version => DTFxContext ? . Version ;
80
85
}
81
86
}
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework >netcoreapp3.1 </TargetFramework >
3
+ <TargetFramework >net6.0 </TargetFramework >
4
4
<WarningsAsErrors ></WarningsAsErrors >
5
5
<DefaultItemExcludes >**</DefaultItemExcludes >
6
6
</PropertyGroup >
7
7
<ItemGroup >
8
- <PackageReference Include =" Microsoft.Azure.WebJobs.Extensions.DurableTask" Version =" 2.9.1 " />
8
+ <PackageReference Include =" Microsoft.Azure.WebJobs.Extensions.DurableTask" Version =" 3.1.0 " />
9
9
<PackageReference Include =" Microsoft.Azure.WebJobs.Extensions.Storage" Version =" 5.1.1" />
10
10
<PackageReference Include =" Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator" Version =" 4.0.1" />
11
11
</ItemGroup >
You can’t perform that action at this time.
0 commit comments