3 writes to Value
System.Runtime.DurableInstancing (3)
System\Runtime\DurableInstancing\InstanceValue.cs (3)
24
Value
= value;
30
Value
= this;
63
this.
Value
= value;
63 references to Value
System.Activities (1)
System\Activities\WorkflowApplication.cs (1)
1425
ActivityExecutor result = value.
Value
as ActivityExecutor;
System.Activities.DurableInstancing (46)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (2)
79
if (!PersistenceMetadataNamespace.ActivationTypes.WAS.Equals(instanceValue.
Value
))
149
XName workflowHostType = instanceValue.
Value
as XName;
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (1)
211
if (propertyValue.
Value
is DeletedMetadataValue)
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (17)
217
IEnumerable<BookmarkInfo> activeBookmarks = binaryBlockingBookmarks.
Value
as IEnumerable<BookmarkInfo>;
237
executionStatus = (string)executionStatusProperty.
Value
;
249
DateTime pendingTimerExpiration = ((DateTime)pendingTimerExpirationPropertyValue.
Value
).ToUniversalTime();
271
suspensionReason = (string)propertyValue.
Value
;
275
suspensionExceptionName = ((Exception)propertyValue.
Value
).GetType().ToString();
292
XName workflowHostType = instanceValue.
Value
as XName;
298
byte[] workflowHostTypeBuffer = Encoding.Unicode.GetBytes(((XName)instanceValue.
Value
).ToString());
309
((string)statusPropertyValue.
Value
) == SqlWorkflowInstanceStoreConstants.ExecutingStatusPropertyValue)
396
if (PersistenceMetadataNamespace.ActivationTypes.WAS.Equals(instanceValue.
Value
))
400
serviceName = ((XName)instanceValue.
Value
).LocalName;
401
serviceNamespace = ((XName)instanceValue.
Value
).Namespace.NamespaceName;
405
site = (string)instanceValue.
Value
;
409
relativeApplicationPath = (string)instanceValue.
Value
;
413
relativeServicePath = (string)instanceValue.
Value
;
559
throw FxTrace.Exception.AsError(new InstancePersistenceException(SR.CannotPromoteAsSqlVariant(propertyValue.
Value
.GetType().ToString(), name.ToString())));
564
parameters.Add(new SqlParameter() { SqlDbType = SqlDbType.Variant, ParameterName = argumentName, Value = propertyValue.
Value
?? DBNull.Value });
586
SaveWorkflowAsyncResult.AddSerializedProperty(serializer.SerializeValue(propertyValue.
Value
), parameters, argumentName);
System\Activities\DurableInstancing\SerializationUtilities.cs (26)
72
(value.
Value
== null) ||
73
(value.
Value
is string && ((string)value.
Value
).Length <= 4000) ||
74
(value.
Value
is Guid) ||
75
(value.
Value
is DateTime) ||
76
(value.
Value
is int) ||
77
(value.
Value
is double) ||
78
(value.
Value
is float) ||
79
(value.
Value
is long) ||
80
(value.
Value
is short) ||
81
(value.
Value
is byte) ||
82
(value.
Value
is decimal && CanDecimalBeStoredAsSqlVariant((decimal)value.
Value
)))
122
propertyBagToSerialize.Add(metadataProperty.Key, metadataProperty.Value.
Value
);
142
propertyBagToSerialize[metadataChange.Key] = metadataChange.Value.
Value
;
170
bool isComplex = (XmlPropertyBag.GetPrimitiveType(property.Value.
Value
) == PrimitiveType.Unavailable);
173
propertyBags[index].Add(property.Key, property.Value.
Value
);
212
propertyBag.Add(property.Key, property.Value.
Value
);
308
if (instanceValueIdentityCollection.
Value
!= null)
310
identityCollection = instanceValueIdentityCollection.
Value
as IList<WorkflowIdentity>;
322
if (instanceValue.
Value
!= null)
324
if (instanceValue.
Value
is WorkflowIdentityFilter)
326
workflowIdentityFilter = (int)instanceValue.
Value
;
348
if (!instanceValue.IsDeletedValue && instanceValue.
Value
!= null)
351
if (!(instanceValue.
Value
is WorkflowIdentity))
356
identityCollection.Add((WorkflowIdentity)instanceValue.
Value
);
System.Runtime.DurableInstancing (4)
System\Runtime\DurableInstancing\InstanceValue.cs (1)
59
return this.
Value
;
System\Runtime\PersistencePipeline.cs (3)
270
this.values = new List<object>(this.basis.Where(value => value.Value.IsWriteOnly() == this.writeOnly).Select(value => value.Value.
Value
));
335
value = realValue.
Value
;
374
return this.basis.Where(value => value.Value.IsWriteOnly() == this.writeOnly).Select(value => new KeyValuePair<XName, object>(value.Key, value.Value.
Value
)).GetEnumerator();
System.ServiceModel.Activities (12)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (5)
489
if (instanceValue.
Value
is T)
491
value = (T)instanceValue.
Value
;
494
else if (instanceValue.
Value
== null && !(value is ValueType))
501
if (instanceValue.
Value
== null)
507
throw FxTrace.Exception.AsError(new InstancePersistenceException(SRCore.IncorrectValueType(typeof(T), instanceValue.
Value
.GetType())));
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (2)
1160
if (!this.ppd.serviceHost.DurableInstancingOptions.ScopeName.Equals(instanceValue.
Value
))
1162
throw FxTrace.Exception.AsError(new InstancePersistenceCommandException(SRCore.IncorrectValueType(this.ppd.serviceHost.DurableInstancingOptions.ScopeName, instanceValue.
Value
)));
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (3)
335
if (!loadedObject.TryGetValue(WorkflowNamespace.Workflow, out stateValue) || stateValue.
Value
== null)
340
deserializedRuntimeState = stateValue.
Value
;
344
workflowInstance.creationContext = (WorkflowCreationContext)stateValue.
Value
;
System\ServiceModel\Activities\SerializableInstanceValue.cs (1)
20
this.value = instanceValue.
Value
;
System\ServiceModel\Activities\ToReply.cs (1)
269
version = (MessageVersion)messageVersionValue.
Value
;