* ProtocolImporter.cs: Take into account the previous change.
svn path=/trunk/mcs/; revision=19086
+2003-10-15 Lluis Sanchez Gual <lluis@ximian.com>
+
+ * MessageBinding.cs: Name property should be null by default.
+ * ProtocolImporter.cs: Take into account the previous change.
+
2003-10-15 Lluis Sanchez Gual <lluis@ximian.com>
* HttpSimpleProtocolReflector.cs, ProtocolReflector.cs:
\r
protected MessageBinding ()\r
{\r
- name = String.Empty;\r
+ name = null;\r
operationBinding = new OperationBinding ();\r
}\r
\r
get;\r
}\r
\r
- [DefaultValue ("")]\r
+ [DefaultValue (null)]\r
[XmlAttribute ("name", DataType = "NMTOKEN")] \r
public string Name {\r
get { return name; }\r
Operation FindPortOperation ()
{
- string inMessage = (operationBinding.Input.Name != "") ? operationBinding.Input.Name : operationBinding.Name;
- string outMessage = (operationBinding.Output.Name != "") ? operationBinding.Output.Name : operationBinding.Name;
+ string inMessage = (operationBinding.Input.Name != null) ? operationBinding.Input.Name : operationBinding.Name;
+ string outMessage = (operationBinding.Output.Name != null) ? operationBinding.Output.Name : operationBinding.Name;
string operName = operationBinding.Name;
foreach (Operation oper in PortType.Operations)