17 overrides of GetKeyForItem
Aspire.Dashboard (4)
Components\Interactions\InteractionsProvider.cs (2)
454protected override int GetKeyForItem(WatchInteractionsResponseUpdate item) 462protected override int GetKeyForItem(InteractionMessageBarReference item)
Otlp\Model\OtlpSpanCollection.cs (1)
17protected override string GetKeyForItem(OtlpSpan item)
ResourceService\DashboardClient.cs (1)
737protected override int GetKeyForItem(WatchInteractionsResponseUpdate item) => item.InteractionId;
Aspire.Hosting (1)
ApplicationModel\InteractionService.cs (1)
323protected override int GetKeyForItem(Interaction item) => item.InteractionId;
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageHeaderDescriptionCollection.cs (1)
16protected override XmlQualifiedName GetKeyForItem(MessageHeaderDescription item)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePartDescriptionCollection.cs (1)
17protected override XmlQualifiedName GetKeyForItem(MessagePartDescription item)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePropertyDescriptionCollection.cs (1)
15protected override string GetKeyForItem(MessagePropertyDescription item)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ClientRuntime.cs (1)
595protected override string GetKeyForItem(ClientOperation item) { return _inner.InternalGetKeyForItem(item); }
FrameworkFork\System.ServiceModel\System\ServiceModel\KeyedByTypeCollection.cs (1)
88protected override Type GetKeyForItem(TItem item)
System.Private.Xml (2)
System\Xml\Xsl\Xslt\Compiler.cs (1)
435protected override XmlQualifiedName GetKeyForItem(DecimalFormatDecl format)
System\Xml\Xsl\Xslt\XslAst.cs (1)
248protected override QilName GetKeyForItem(List<Key> list)
System.ServiceModel.Primitives (4)
netstandard.cs (4)
59protected override Type GetKeyForItem(TItem item) { return default; } 2052protected override System.Xml.XmlQualifiedName GetKeyForItem(System.ServiceModel.Description.MessageHeaderDescription item) { return default; } 2068protected override System.Xml.XmlQualifiedName GetKeyForItem(System.ServiceModel.Description.MessagePartDescription item) { return default; } 2077protected override string GetKeyForItem(System.ServiceModel.Description.MessagePropertyDescription item) { return default; }
System.Speech (1)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (1)
591protected override string GetKeyForItem(System.Speech.Recognition.SrgsGrammar.SrgsRule rule) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); }
11 references to GetKeyForItem
System.ObjectModel (11)
System\Collections\ObjectModel\KeyedCollection.cs (11)
83if (comparer.Equals(GetKeyForItem(item), key)) 103TKey keyInItems = GetKeyForItem(itemInItems); 118if ((dict == null) || ((key = GetKeyForItem(item)) == null)) 144if (comparer.Equals(GetKeyForItem(Items[i]), key)) 163TKey oldKey = GetKeyForItem(item); 188TKey key = GetKeyForItem(item); 199TKey key = GetKeyForItem(Items[index]); 210TKey newKey = GetKeyForItem(item); 211TKey oldKey = GetKeyForItem(Items[index]); 263TKey key = GetKeyForItem(item); 303items[i] = new KeyedCollectionDebugViewItem(_collection.GetKeyForItem(item), item);