예제 #1
0
 internal override bool WriteClrTypeInfo(XmlWriterDelegator xmlWriter, Type dataContractType, SerializationInfo serInfo)
 {
     if (mode == SerializationMode.SharedType)
     {
         NetDataContractSerializer.WriteClrTypeInfo(xmlWriter, dataContractType, binder, serInfo);
         return(true);
     }
     return(false);
 }
예제 #2
0
 internal override bool WriteClrTypeInfo(XmlWriterDelegator xmlWriter, Type dataContractType, string clrTypeName, string clrAssemblyName)
 {
     if (mode == SerializationMode.SharedType)
     {
         NetDataContractSerializer.WriteClrTypeInfo(xmlWriter, dataContractType, binder, clrTypeName, clrAssemblyName);
         return(true);
     }
     return(false);
 }