1 implementation of IDataNode
System.Runtime.Serialization (1)
System\Runtime\Serialization\ExtensionDataObject.cs (1)
91
internal class DataNode<T> :
IDataNode
52 references to IDataNode
System.Runtime.Serialization (52)
System\Runtime\Serialization\ExtensionDataObject.cs (7)
42
IDataNode
value;
56
public
IDataNode
Value
125
bool
IDataNode
.IsFinalValue
245
IList<
IDataNode
> items;
255
internal IList<
IDataNode
> Items
380
IDataNode
value;
388
internal
IDataNode
Value
System\Runtime\Serialization\ExtensionDataReader.cs (15)
48
Queue<
IDataNode
> deserializedDataNodes;
81
IDataNode
deserializedDataNode = (deserializedDataNodes == null || deserializedDataNodes.Count == 0) ? null : deserializedDataNodes.Dequeue();
82
if (deserializedDataNode != null && !(obj is
IDataNode
))
89
internal
IDataNode
GetCurrentNode()
91
IDataNode
retVal = element.dataNode;
96
internal void SetDataNode(
IDataNode
dataNode, string name, string ns)
463
void MoveNext(
IDataNode
dataNode)
493
void SetNextElement(
IDataNode
node, string name, string ns, string prefix)
515
void AddDeserializedDataNode(
IDataNode
node)
520
deserializedDataNodes = new Queue<
IDataNode
>();
525
bool CheckIfNodeHandled(
IDataNode
node)
572
IDataNode
item = dataNode.Items[element.childElementIndex++];
632
void MoveToDeserializedObject(
IDataNode
dataNode)
660
bool MoveToText(Type type,
IDataNode
dataNode, bool isTypedNode)
843
public
IDataNode
dataNode;
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (3)
58
protected override
IDataNode
ReadPrimitiveExtensionDataValue(XmlReaderDelegator xmlReader, string dataContractName, string dataContractNamespace)
60
IDataNode
dataNode;
83
IDataNode
ReadNumericalPrimitiveExtensionDataValue(XmlReaderDelegator xmlReader)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
228
internal override void WriteExtensionDataTypeInfo(XmlWriterDelegator xmlWriter,
IDataNode
dataNode)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (19)
413
if (retObj is
IDataNode
)
415
IDataNode
dataNode = (
IDataNode
)retObj;
444
object DeserializeFromExtensionData(
IDataNode
dataNode, Type type, string name, string ns)
624
public
IDataNode
ReadExtensionDataValue(XmlReaderDelegator xmlReader)
628
IDataNode
dataNode = null;
633
dataNode = (o is
IDataNode
) ? (
IDataNode
)o : new DataNode<object>(o);
721
IDataNode
ReadExtensionDataValue(XmlReaderDelegator xmlReader, string dataContractName, string dataContractNamespace)
745
IDataNode
objNode = ReadUnknownPrimitiveData(xmlReader, Globals.TypeOfObject, dataContractName, dataContractNamespace);
755
protected virtual
IDataNode
ReadPrimitiveExtensionDataValue(XmlReaderDelegator xmlReader, string dataContractName, string dataContractNamespace)
761
IDataNode
stringNode = new DataNode<object>(xmlReader.ReadContentAsString());
769
IDataNode
objNode = ReadUnknownPrimitiveData(xmlReader, valueType, dataContractName, dataContractNamespace);
775
protected void InitializeExtensionDataNode(
IDataNode
dataNode, string dataContractName, string dataContractNamespace)
785
IDataNode
ReadUnknownPrimitiveData(XmlReaderDelegator xmlReader, Type type, string dataContractName, string dataContractNamespace)
787
IDataNode
dataNode = xmlReader.ReadExtensionData(type);
832
dataNode.Items = new List<
IDataNode
>();
897
IDataNode
ReadUnknownXmlData(XmlReaderDelegator xmlReader, string dataContractName, string dataContractNamespace)
945
IDataNode
ReadAndResolveUnknownXmlData(XmlReaderDelegator xmlReader, IDictionary<string, string> namespaces,
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (5)
574
IDataNode
dataNode = member.Value;
579
internal virtual void WriteExtensionDataTypeInfo(XmlWriterDelegator xmlWriter,
IDataNode
dataNode)
587
internal void WriteExtensionDataValue(XmlWriterDelegator xmlWriter,
IDataNode
dataNode)
628
internal bool TryWriteDeserializedExtensionData(XmlWriterDelegator xmlWriter,
IDataNode
dataNode)
664
IList<
IDataNode
> items = dataNode.Items;
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
289
internal
IDataNode
ReadExtensionData(Type valueType)
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
365
internal void WriteExtensionData(
IDataNode
dataNode)