e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
28 lines
835 B
C#
28 lines
835 B
C#
//------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//------------------------------------------------------------
|
|
|
|
namespace System.ServiceModel.Description
|
|
{
|
|
using System;
|
|
using System.ServiceModel.Channels;
|
|
using System.Collections.Generic;
|
|
using System.Collections.ObjectModel;
|
|
using System.Xml;
|
|
using System.Runtime.Serialization;
|
|
|
|
public class MessagePartDescriptionCollection : KeyedCollection<XmlQualifiedName, MessagePartDescription>
|
|
{
|
|
internal MessagePartDescriptionCollection()
|
|
: base(null, 4)
|
|
{
|
|
|
|
}
|
|
|
|
protected override XmlQualifiedName GetKeyForItem(MessagePartDescription item)
|
|
{
|
|
return new XmlQualifiedName(item.Name, item.Namespace);
|
|
}
|
|
}
|
|
}
|