Workflow Engine .NET  2
Static Public Member Functions | Static Public Attributes | List of all members
OptimaJet.Workflow.Core.Runtime.ParametersSerializer Class Reference

Static Public Member Functions

static object Deserialize (string serializedValue, Type parameterType)
 Provides access to Workflow Engine .NET Persistence Process Parameters serialization mechanism More...
 
static T Deserialize< T > (string serializedValue)
 Provides access to Workflow Engine .NET Persistence Process Parameters serialization mechanism More...
 
static string Serialize (object value, Type parameterType)
 Provides access to Workflow Engine .NET Persistence Process Parameters deserialization mechanism More...
 
static string Serialize (object value)
 Provides access to Workflow Engine .NET Persistence Process Parameters deserialization mechanism More...
 

Static Public Attributes

static JsonSerializerSettings Settings
 Serializer setting for JSON serializer More...
 

Member Function Documentation

◆ Deserialize()

static object OptimaJet.Workflow.Core.Runtime.ParametersSerializer.Deserialize ( string  serializedValue,
Type  parameterType 
)
static

Provides access to Workflow Engine .NET Persistence Process Parameters serialization mechanism

Parameters
serializedValueSerialized value
parameterTypeParameter type
Returns
Deserialized object

◆ Deserialize< T >()

static T OptimaJet.Workflow.Core.Runtime.ParametersSerializer.Deserialize< T > ( string  serializedValue)
static

Provides access to Workflow Engine .NET Persistence Process Parameters serialization mechanism

Parameters
serializedValueSerialized value
Returns
Deserialized object

◆ Serialize() [1/2]

static string OptimaJet.Workflow.Core.Runtime.ParametersSerializer.Serialize ( object  value,
Type  parameterType 
)
static

Provides access to Workflow Engine .NET Persistence Process Parameters deserialization mechanism

Parameters
valueParameter value
parameterTypeParameter type
Returns
Serialized string

◆ Serialize() [2/2]

static string OptimaJet.Workflow.Core.Runtime.ParametersSerializer.Serialize ( object  value)
static

Provides access to Workflow Engine .NET Persistence Process Parameters deserialization mechanism

Parameters
valueParameter value
Returns
Serialized string

Member Data Documentation

◆ Settings

JsonSerializerSettings OptimaJet.Workflow.Core.Runtime.ParametersSerializer.Settings
static
Initial value:
= new JsonSerializerSettings()
{
ReferenceLoopHandling = ReferenceLoopHandling.Ignore
}

Serializer setting for JSON serializer