Beispiel #1
0
 Type IDataContractSurrogate.GetReferencedTypeOnImport(string typeName, string typeNamespace, object customData)
 {
     if (prevSurrogate != null)
     {
         return(prevSurrogate.GetReferencedTypeOnImport(typeName, typeNamespace, customData));
     }
     return(null);
 }
Beispiel #2
0
 internal static Type GetReferencedTypeOnImport(IDataContractSurrogate surrogate, string typeName, string typeNamespace, object customData)
 {
     if (DataContract.GetBuiltInDataContract(typeName, typeNamespace) != null)
     {
         return(null);
     }
     return(surrogate.GetReferencedTypeOnImport(typeName, typeNamespace, customData));
 }
 internal static Type GetReferencedTypeOnImport(IDataContractSurrogate surrogate, string typeName, string typeNamespace, object customData)
 {
     if (DataContract.GetBuiltInDataContract(typeName, typeNamespace) != null)
     {
         return null;
     }
     return surrogate.GetReferencedTypeOnImport(typeName, typeNamespace, customData);
 }
 public Type GetReferencedTypeOnImport(string typeName, string typeNamespace, object customData)
 {
     return(_dataContractSurrogate.GetReferencedTypeOnImport(typeName, typeNamespace, customData));
 }
Beispiel #5
0
 public Type GetReferencedTypeOnImport(string typeName, string typeNamespace, object customData)
 {
     return(_baseSerializer != null?_baseSerializer.GetReferencedTypeOnImport(typeName, typeNamespace, customData) : null);
 }