17 references to SerializationUtilities
System.Activities.DurableInstancing (17)
System\Activities\DurableInstancing\CorrelationKey.cs (1)
27
this.BinaryData =
SerializationUtilities
.SerializeKeyMetadata(keyMetadata, encodingOption);
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (2)
86
ArraySegment<byte>[] properties =
SerializationUtilities
.SerializePropertyBag(commandMetadata, base.Store.InstanceEncodingOption);
104
string identityMetadataXml =
SerializationUtilities
.GetIdentityMetadataXml(base.InstancePersistenceCommand);
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (6)
59
concatenatedKeyProperties =
SerializationUtilities
.CreateKeyBinaryBlob(keysToAssociate);
71
parameters.Add(new SqlParameter { ParameterName = "@keysToAssociate", SqlDbType = SqlDbType.Xml, Value = singleKeyToAssociate ? DBNull.Value :
SerializationUtilities
.CreateCorrelationKeyXmlBlob(keysToAssociate) });
132
this.instanceData =
SerializationUtilities
.DeserializePropertyBag(primitiveProperties, complexProperties, dataEncodingOption);
133
this.instanceMetadata =
SerializationUtilities
.DeserializeMetadataPropertyBag(metadataProperties, metadataEncodingOption);
204
Dictionary<XName, InstanceValue> metadataChangeSet =
SerializationUtilities
.DeserializeMetadataPropertyBag(serializedMetadataChanges, encodingOption);
245
destination[key] =
SerializationUtilities
.DeserializeKeyMetadata((byte[]) reader.GetValue(4), encodingOption);
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (8)
91
string identityMetadataXml =
SerializationUtilities
.GetIdentityMetadataXml(saveWorkflowCommand);
501
ArraySegment<byte>[] dataProperties =
SerializationUtilities
.SerializePropertyBag(saveWorkflowCommand.InstanceData, base.Store.InstanceEncodingOption);
502
ArraySegment<byte> metadataProperties =
SerializationUtilities
.SerializeMetadataPropertyBag(saveWorkflowCommand, base.InstancePersistenceContext, base.Store.InstanceEncodingOption);
503
byte[] concatenatedKeyProperties =
SerializationUtilities
.CreateKeyBinaryBlob(keysToAssociate);
507
parameters.Add(new SqlParameter { ParameterName = "@keysToAssociate", SqlDbType = SqlDbType.Xml, Value = singleKeyToAssociate ? DBNull.Value :
SerializationUtilities
.CreateCorrelationKeyXmlBlob(keysToAssociate) });
509
parameters.Add(new SqlParameter { ParameterName = "@keysToComplete", SqlDbType = SqlDbType.Xml, Value =
SerializationUtilities
.CreateCorrelationKeyXmlBlob(keysToComplete) });
510
parameters.Add(new SqlParameter { ParameterName = "@keysToFree", SqlDbType = SqlDbType.Xml, Value =
SerializationUtilities
.CreateCorrelationKeyXmlBlob(keysToFree) });
557
if (!
SerializationUtilities
.IsPropertyTypeSqlVariantCompatible(propertyValue))