mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* AnyReturnReader.cs: * HtmlFormParameterReader.cs : * HtmlFormParameterWriter.cs : * HttpGetClientProtocol.cs : * HttpMethodAttribute.cs : * HttpPostClientProtocol.cs : * HttpSimpleClientProtocol.cs : * HttpWebClientProtocol.cs : * LogicalMethodInfo.cs : * LogicalMethodTypes.cs : * MatchAttribute.cs : * MimeFormatter.cs : * MimeParameterReader.cs : * MimeParameterWriter.cs : * MimeReturnReader.cs : * NopReturnReader.cs : * PatternMatcher.cs : * SoapClientMessage.cs : * SoapDocumentMethodAttribute.cs : * SoapDocumentServiceAttribute.cs : * SoapException.cs : * SoapExtension.cs : * SoapExtensionAttribute.cs : * SoapHeader.cs : * SoapHeaderAttribute.cs : * SoapHeaderCollection.cs : * SoapHeaderDirection.cs : * SoapHttpClientProtocol.cs : * SoapMessage.cs : * SoapMessageStage.cs : * SoapParameterStyle.cs : * SoapRpcMethodAttribute.cs : * SoapRpcServiceAttribute.cs : * SoapServerMessage.cs : * SoapServiceRoutingStyle.cs : * SoapUnknownHeader.cs : * TextReturnReader.cs : * UrlEncodedParameterWriter.cs : * UrlParameterReader.cs : * UrlParameterWriter.cs : * ValueCollectionParameterReader.cs : * WebClientAsyncResult.cs : * WebClientProtocol.cs : * WebServiceHandlerFactory.cs : * XmlReturnReader.cs : Add missing methods and attributes to make as few missing things as possible in this namespace. This is from the project status page. svn path=/trunk/mcs/; revision=6034
70 lines
1.2 KiB
C#
70 lines
1.2 KiB
C#
//
|
|
// System.Web.Services.Protocols.SoapHeaderCollection.cs
|
|
//
|
|
// Author:
|
|
// Tim Coleman ([email protected])
|
|
//
|
|
// Copyright (C) Tim Coleman, 2002
|
|
//
|
|
|
|
using System.Collections;
|
|
|
|
namespace System.Web.Services.Protocols {
|
|
public class SoapHeaderCollection : CollectionBase {
|
|
|
|
#region Constructors
|
|
|
|
public SoapHeaderCollection ()
|
|
{
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region Properties
|
|
|
|
public SoapHeader this [int index] {
|
|
get { return (SoapHeader) List[index]; }
|
|
set { List[index] = value; }
|
|
}
|
|
|
|
#endregion // Properties
|
|
|
|
#region Methods
|
|
|
|
public int Add (SoapHeader header)
|
|
{
|
|
Insert (Count, header);
|
|
return (Count - 1);
|
|
}
|
|
|
|
public bool Contains (SoapHeader header)
|
|
{
|
|
return List.Contains (header);
|
|
}
|
|
|
|
public void CopyTo (SoapHeader[] array, int index)
|
|
{
|
|
List.CopyTo (array, index);
|
|
}
|
|
|
|
public int IndexOf (SoapHeader header)
|
|
{
|
|
return List.IndexOf (header);
|
|
}
|
|
|
|
public void Insert (int index, SoapHeader header)
|
|
{
|
|
if (index < 0 || index > Count)
|
|
throw new ArgumentOutOfRangeException ();
|
|
List.Insert (index, header);
|
|
}
|
|
|
|
public void Remove (SoapHeader header)
|
|
{
|
|
List.Remove (header);
|
|
}
|
|
|
|
#endregion // Methods
|
|
}
|
|
}
|