ProxyDataContractResolver.TryResolveType Method (Type, Type, DataContractResolver, XmlDictionaryString, XmlDictionaryString)
During serialization, maps actual types to xsi:type information.
Assembly: EntityFramework (in EntityFramework.dll)
public override bool TryResolveType( Type type, Type declaredType, DataContractResolver knownTypeResolver, out XmlDictionaryString typeName, out XmlDictionaryString typeNamespace )
Parameters
- type
-
Type:
System.Type
The actual type of the persistence-ignorant object.
- declaredType
-
Type:
System.Type
The declared type.
- knownTypeResolver
-
Type:
System.Runtime.Serialization.DataContractResolver
An instance of ProxyDataContractResolver.
- typeName
-
Type:
System.Xml.XmlDictionaryString
When this method returns, contains a list of xsi:type declarations.
- typeNamespace
-
Type:
System.Xml.XmlDictionaryString
When this method returns, contains a list of namespaces used.