Files
mono/mcs/class/System.Web.Services/System.Web.Services.Description/OperationMessage.cs
T
Lluis Sanchez 4a01835603 * DocumentableItem.cs MimeContentBinding.cs OperationMessage.cs
OperationMessageCollection.cs PortCollection.cs PortType.cs
	  PortTypeCollection.cs ServiceCollection.cs ServiceDescriptionCollection.cs
	  SoapBodyBinding.cs SoapOperationBinding.cs: Several fixes by Erik LeBel
	* ServiceDescriptionImporter.cs:
	* ServiceDescriptionSerializerBase.cs: regenerated after the changes in
	  the service description changes.
	* ServiceDescriptionReflector.cs: Fixed generation of message parts in
	  bare format.

svn path=/trunk/mcs/; revision=18079
2003-09-14 12:24:49 +00:00

67 lines
1.2 KiB
C#

//
// System.Web.Services.Description.OperationMessage.cs
//
// Author:
// Tim Coleman ([email protected])
//
// Copyright (C) Tim Coleman, 2002
//
using System.Web.Services;
using System.Xml;
using System.Xml.Serialization;
namespace System.Web.Services.Description {
public abstract class OperationMessage : DocumentableItem {
#region Fields
XmlQualifiedName message;
string name;
Operation operation;
#endregion // Fields
#region Constructors
protected OperationMessage ()
{
message = XmlQualifiedName.Empty;
name = null;
operation = null;
}
#endregion // Constructors
#region Properties
[XmlAttribute ("message")]
public XmlQualifiedName Message {
get { return message; }
set { message = value; }
}
[XmlAttribute ("name", DataType = "NMTOKEN")]
public string Name {
get { return name; }
set { name = value; }
}
[XmlIgnore]
public Operation Operation {
get { return operation; }
}
#endregion // Properties
#region Methods
internal void SetParent (Operation operation)
{
this.operation = operation;
}
#endregion // Methods
}
}