Prechádzať zdrojové kódy

2003-06-30 Jean-Marc Andr�� <[email protected]>
ObjectWriter, SoapFormatter, SoapWriter:
cleaned the code

svn path=/trunk/mcs/; revision=15789

Jean-Marc Andre 22 rokov pred
rodič
commit
53802ff088

+ 6 - 0
mcs/class/System.Runtime.Serialization.Formatters.Soap/ChangeLog

@@ -1,3 +1,9 @@
+2003-06-30  Jean-Marc Andre <[email protected]>
+	* SoapServices:
+		removed because it is now included in the
+		right assembly.
+	* SoapFormatter.cs, SoapWriter.cs, ObjectWriter.cs:
+		cleaned the code
 2003-05-27  Jean-Marc Andre <[email protected]>
 	* SoapWriter:
 		bugs fixed

+ 0 - 1
mcs/class/System.Runtime.Serialization.Formatters.Soap/System.Runtime.Serialization.Formatters.Soap/ObjectWriter.cs

@@ -64,7 +64,6 @@ namespace System.Runtime.Serialization.Formatters.Soap {
 						object fieldValue = fieldInfo.GetValue(objCurrent);
 						Type fieldType;
 						fieldType = fieldInfo.FieldType;
-						//Console.WriteLine("name: {0} type: {1} value: {2}", fieldInfo.Name, fieldType, fieldValue);
 						_serializationInfo.AddValue(fieldInfo.Name, fieldValue, fieldType);
 					}
 				}

+ 0 - 10
mcs/class/System.Runtime.Serialization.Formatters.Soap/System.Runtime.Serialization.Formatters.Soap/SoapFormatter.cs

@@ -112,15 +112,5 @@ namespace System.Runtime.Serialization.Formatters.Soap {
 				_topObject = value;
 			}
 		}
-		
-	
-		//private methods
-		
-		// finish the work on the SoapMessage
-		// fill the SoapMessage.ParamName array
-		// fill the SoapMessage.ParamType array
-		// convert the SoapMessage.ParamValue array items
-		// to the right type if needed
-		
 	}
 }

+ 0 - 3
mcs/class/System.Runtime.Serialization.Formatters.Soap/System.Runtime.Serialization.Formatters.Soap/SoapWriter.cs

@@ -341,10 +341,7 @@ namespace System.Runtime.Serialization.Formatters.Soap {
 			_xmlWriter.WriteAttributeString("id", null, "ref-"+_currentObjectId);
 			SerializationInfo info = new SerializationInfo(soapMsg.GetType(), new FormatterConverter());
 			
-			string typeNamespace, assemblyName;
-			SoapServices.DecodeXmlNamespaceForClrTypeNamespace(soapMsg.XmlNameSpace, out typeNamespace, out assemblyName);
 			
-			Type objType = Type.GetType(typeNamespace);
 			if(soapMsg.ParamNames != null) {
 				for(int i=0; i<soapMsg.ParamNames.Length; i++){
 					string name = soapMsg.ParamNames[i];