1 implementation of Value
System.Runtime.Serialization (1)
System\Runtime\Serialization\ExtensionDataObject.cs (1)
119
public object
Value
1 write to Value
System.Runtime.Serialization (1)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
84
deserializedDataNode.
Value
= obj;
33 references to Value
System.Runtime.Serialization (33)
System\Runtime\Serialization\ExtensionDataReader.cs (22)
482
else if (dataNode.
Value
!= null)
517
if (node.Id != Globals.NewObjectId && (node.
Value
== null || !node.IsFinalValue))
638
type = dataNode.
Value
.GetType();
666
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<bool>)dataNode).GetValue() : (bool)dataNode.
Value
);
669
this.value = XmlConvert.ToString((int)(isTypedNode ? ((DataNode<char>)dataNode).GetValue() : (char)dataNode.
Value
));
672
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<byte>)dataNode).GetValue() : (byte)dataNode.
Value
);
675
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<short>)dataNode).GetValue() : (short)dataNode.
Value
);
678
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<int>)dataNode).GetValue() : (int)dataNode.
Value
);
681
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<long>)dataNode).GetValue() : (long)dataNode.
Value
);
684
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<float>)dataNode).GetValue() : (float)dataNode.
Value
);
687
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<double>)dataNode).GetValue() : (double)dataNode.
Value
);
690
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<decimal>)dataNode).GetValue() : (decimal)dataNode.
Value
);
693
DateTime dateTime = isTypedNode ? ((DataNode<DateTime>)dataNode).GetValue() : (DateTime)dataNode.
Value
;
697
this.value = isTypedNode ? ((DataNode<string>)dataNode).GetValue() : (string)dataNode.
Value
;
700
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<sbyte>)dataNode).GetValue() : (sbyte)dataNode.
Value
);
703
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<ushort>)dataNode).GetValue() : (ushort)dataNode.
Value
);
706
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<uint>)dataNode).GetValue() : (uint)dataNode.
Value
);
709
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<ulong>)dataNode).GetValue() : (ulong)dataNode.
Value
);
715
byte[] bytes = isTypedNode ? ((DataNode<byte[]>)dataNode).GetValue() : (byte[])dataNode.
Value
;
719
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<TimeSpan>)dataNode).GetValue() : (TimeSpan)dataNode.
Value
);
722
Guid guid = isTypedNode ? ((DataNode<Guid>)dataNode).GetValue() : (Guid)dataNode.
Value
;
727
Uri uri = isTypedNode ? ((DataNode<Uri>)dataNode).GetValue() : (Uri)dataNode.
Value
;
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (2)
246
else if ((dataType == Globals.TypeOfObject) && (dataNode.
Value
!= null))
248
DataContract dc = GetDataContract(dataNode.
Value
.GetType());
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
416
retObj = (dataNode.
Value
!= null && dataNode.IsFinalValue) ? dataNode.
Value
: DeserializeFromExtensionData(dataNode, type, name, ns);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (6)
597
&& OnHandleReference(xmlWriter, (dataNode.
Value
== null ? dataNode : dataNode.
Value
), true /*canContainCyclicReference*/))
617
object o = dataNode.
Value
;
625
OnEndHandleReference(xmlWriter, (dataNode.
Value
== null ? dataNode : dataNode.
Value
), true /*canContainCyclicReference*/);
630
object o = dataNode.
Value
;
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
424
object obj = dataNode.
Value
;