ProxyDataContractResolver.ResolveName Method (String, String, Type, DataContractResolver)
During deserialization, maps any xsi:type information to the actual type of the persistence-ignorant object.
Assembly: EntityFramework (in EntityFramework.dll)
public override Type ResolveName( string typeName, string typeNamespace, Type declaredType, DataContractResolver knownTypeResolver )
Parameters
- typeName
-
Type:
System.String
The xsi:type information to map.
- typeNamespace
-
Type:
System.String
The namespace of the xsi:type.
- declaredType
-
Type:
System.Type
The declared type.
- knownTypeResolver
-
Type:
System.Runtime.Serialization.DataContractResolver
An instance of ProxyDataContractResolver.
Return Value
Type: System.TypeReturns the type that the xsi:type is mapped to. Returns null if no known type was found that matches the xsi:type.