e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
58 lines
2.1 KiB
C#
58 lines
2.1 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="DiscoveryReferences.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Web.Services.Discovery {
|
|
|
|
using System.Collections;
|
|
using System.Diagnostics;
|
|
|
|
/// <include file='doc\DiscoveryReferences.uex' path='docs/doc[@for="DiscoveryReferenceCollection"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public sealed class DiscoveryReferenceCollection : CollectionBase {
|
|
|
|
/// <include file='doc\DiscoveryReferences.uex' path='docs/doc[@for="DiscoveryReferenceCollection.this"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public DiscoveryReference this[int i] {
|
|
get {
|
|
return (DiscoveryReference) List[i];
|
|
}
|
|
set {
|
|
List[i] = value;
|
|
}
|
|
}
|
|
|
|
/// <include file='doc\DiscoveryReferences.uex' path='docs/doc[@for="DiscoveryReferenceCollection.Add"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public int Add(DiscoveryReference value) {
|
|
return List.Add(value);
|
|
}
|
|
|
|
/// <include file='doc\DiscoveryReferences.uex' path='docs/doc[@for="DiscoveryReferenceCollection.Contains"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public bool Contains(DiscoveryReference value) {
|
|
return List.Contains(value);
|
|
}
|
|
|
|
/// <include file='doc\DiscoveryReferences.uex' path='docs/doc[@for="DiscoveryReferenceCollection.Remove"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public void Remove(DiscoveryReference value) {
|
|
List.Remove(value);
|
|
}
|
|
|
|
}
|
|
|
|
}
|