Ejemplo n.º 1
0
 internal static object GetCustomDataToExport(IDataContractSurrogate surrogate, Type clrType, Type dataContractType)
 {
     if (DataContract.GetBuiltInDataContract(clrType) != null)
     {
         return(null);
     }
     return(surrogate.GetCustomDataToExport(clrType, dataContractType));
 }
 internal static object GetCustomDataToExport(IDataContractSurrogate surrogate, Type clrType, Type dataContractType)
 {
     if (DataContract.GetBuiltInDataContract(clrType) != null)
     {
         return null;
     }
     return surrogate.GetCustomDataToExport(clrType, dataContractType);
 }
Ejemplo n.º 3
0
 internal static object GetCustomDataToExport(IDataContractSurrogate surrogate, MemberInfo memberInfo, Type dataContractType)
 {
     return surrogate.GetCustomDataToExport(memberInfo, dataContractType);
 }
Ejemplo n.º 4
0
 internal static object GetCustomDataToExport(IDataContractSurrogate surrogate, MemberInfo memberInfo, Type dataContractType)
 {
     return(surrogate.GetCustomDataToExport(memberInfo, dataContractType));
 }
 public object GetCustomDataToExport(Type clrType, Type dataContractType)
 {
     return(_dataContractSurrogate.GetCustomDataToExport(clrType, dataContractType));
 }
Ejemplo n.º 6
0
 public object GetCustomDataToExport(MemberInfo memberInfo, Type dataContractType)
 {
     return(_baseSerializer != null?_baseSerializer.GetCustomDataToExport(memberInfo, dataContractType) : null);
 }