3.6.0 compatibility
This commit is contained in:
parent
a4e830ac54
commit
ba9e2fef20
|
|
@ -66,7 +66,6 @@ public static partial class ActivityExecutionContextExtensions
|
|||
memoryBlockReference.Set(context, value);
|
||||
return value;
|
||||
}
|
||||
|
||||
private static async Task<object?> EvaluateInputPropertyAsync(this ActivityExecutionContext context, ActivityDescriptor activityDescriptor, InputDescriptor inputDescriptor)
|
||||
{
|
||||
var activity = context.Activity;
|
||||
|
|
@ -110,7 +109,6 @@ public static partial class ActivityExecutionContextExtensions
|
|||
// When input is created from an activity provider, there may be no memory block reference ID.
|
||||
if (memoryReference.Id == null!)
|
||||
memoryReference.Id = $"{activity.NodeId}.{inputDescriptor.Name}"; // Construct a deterministic ID.
|
||||
|
||||
// Declare the input memory block in the current context.
|
||||
context.ExpressionExecutionContext.Set(memoryReference, value!);
|
||||
}
|
||||
|
|
@ -124,7 +122,6 @@ public static partial class ActivityExecutionContextExtensions
|
|||
|
||||
return value;
|
||||
}
|
||||
|
||||
private static Task StoreInputValueAsync(ActivityExecutionContext context, InputDescriptor inputDescriptor, object value)
|
||||
{
|
||||
// Store the serialized input value in the activity state.
|
||||
|
|
|
|||
Loading…
Reference in a new issue