mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
Operation.cs, OperationBinding.cs, OperationMessage.cs, Port.cs, PortType.cs, Service.cs: Added XmlIgnore attributes to properties referencing parent objects. * OperationMessageCollection.cs: Fixed wrong OnInsert method * ServiceDescription.cs: Removed unneeded methods in ServiceDescriptionSerializer. svn path=/trunk/mcs/; revision=16521
75 lines
1.3 KiB
C#
75 lines
1.3 KiB
C#
//
|
|
// System.Web.Services.Description.MessagePart.cs
|
|
//
|
|
// Author:
|
|
// Tim Coleman ([email protected])
|
|
//
|
|
// Copyright (C) Tim Coleman, 2002
|
|
//
|
|
|
|
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace System.Web.Services.Description {
|
|
public sealed class MessagePart : DocumentableItem {
|
|
|
|
#region Fields
|
|
|
|
XmlQualifiedName element;
|
|
Message message;
|
|
string name;
|
|
XmlQualifiedName type;
|
|
|
|
#endregion // Fields
|
|
|
|
#region Constructors
|
|
|
|
public MessagePart ()
|
|
{
|
|
element = XmlQualifiedName.Empty;
|
|
message = null;
|
|
name = String.Empty;
|
|
type = XmlQualifiedName.Empty;
|
|
}
|
|
|
|
#endregion // Constructors
|
|
|
|
#region Properties
|
|
|
|
[XmlAttribute ("element")]
|
|
public XmlQualifiedName Element {
|
|
get { return element; }
|
|
set { element = value; }
|
|
}
|
|
|
|
[XmlIgnore]
|
|
public Message Message {
|
|
get { return message; }
|
|
}
|
|
|
|
[XmlAttribute ("name", DataType = "NMTOKEN")]
|
|
public string Name {
|
|
get { return name; }
|
|
set { name = value; }
|
|
}
|
|
|
|
[XmlAttribute ("type")]
|
|
public XmlQualifiedName Type {
|
|
get { return type; }
|
|
set { type = value; }
|
|
}
|
|
|
|
#endregion // Properties
|
|
|
|
#region Methods
|
|
|
|
internal void SetParent (Message message)
|
|
{
|
|
this.message = message;
|
|
}
|
|
|
|
#endregion // Methods
|
|
|
|
}
|
|
}
|