Refined the expression serialization context and its deserialization method for more extensive usage. Also, simplified the handling of value retrieval in the DefaultExpressionDescriptorProvider. This allows greater control over serialization processes and makes the code more concise.
8 lines
290 B
C#
8 lines
290 B
C#
using System.Text.Json;
|
|
|
|
namespace Elsa.Expressions.Models;
|
|
|
|
/// <summary>
|
|
/// Defines the context for expression serialization.
|
|
/// </summary>
|
|
public record ExpressionSerializationContext(string ExpressionType, JsonElement JsonElement, JsonSerializerOptions Options, Type MemoryBlockType); |