Implemented interface members:

method
TryGetValue
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>.TryGetValue(TKey, out TValue)

method
TryGetValue
System.Collections.Generic.IDictionary<TKey, TValue>.TryGetValue(TKey, out TValue)
632 references to TryGetValue
aspire (4)
Aspire.Cli.Tests (2)
Aspire.Dashboard (17)
Components\Pages\Resources.razor.cs (8)
323t => !PageViewModel.ResourceTypesToVisibility.TryGetValue(t, out var value) || value,
324s => !PageViewModel.ResourceStatesToVisibility.TryGetValue(s, out var value) || value,
325s => !PageViewModel.ResourceHealthStatusesToVisibility.TryGetValue(s, out var value) || value);
375if (_resourceByName.TryGetValue(resource.Name, out _))
435if (resources._resourceByName.TryGetValue(id, out var resource))
448if (resources._resourceByName.TryGetValue(id, out var resource))
601if (_resourceByName.TryGetValue(ResourceName, out var selectedResource))
687if (_resourceByName.TryGetValue(value, out current))
Aspire.Hosting (22)
Dcp\DcpExecutor.cs (9)
420if (_resourceState.ContainersMap.TryGetValue(entry.ResourceName, out var container))
424else if (_resourceState.ExecutablesMap.TryGetValue(entry.ResourceName, out var executable))
428else if (_resourceState.ContainerExecsMap.TryGetValue(entry.ResourceName, out var containerExec))
646if (_resourceState.ContainersMap.TryGetValue(resourceName, out var container))
650else if (_resourceState.ExecutablesMap.TryGetValue(resourceName, out var executable))
654else if (_resourceState.ContainerExecsMap.TryGetValue(resourceName, out var containerExec))
789"Container" => _resourceState.ContainersMap.TryGetValue(resourceName, out var container) ? container : null,
790"ContainerExec" => _resourceState.ContainerExecsMap.TryGetValue(resourceName, out var containerExec) ? containerExec : null,
791"Executable" => _resourceState.ExecutablesMap.TryGetValue(resourceName, out var executable) ? executable : null,
Aspire.Hosting.RemoteHost (7)
Aspire.StackExchange.Redis (1)
dotnet (4)
dotnet-aot (1)
dotnet-svcutil-lib (2)
GenerateDocumentationAndConfigFiles (6)
ILCompiler.ReadyToRun (5)
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.AspNetCore.Authorization.Policy (1)
Microsoft.AspNetCore.Components (12)
Microsoft.AspNetCore.Components.Authorization (1)
Microsoft.AspNetCore.Components.Endpoints (3)
Microsoft.AspNetCore.Components.Forms (3)
Microsoft.AspNetCore.Components.QuickGrid (1)
Microsoft.AspNetCore.Components.Server (6)
Microsoft.AspNetCore.Components.Testing (2)
Microsoft.AspNetCore.Components.Web (2)
Microsoft.AspNetCore.Components.WebAssembly (2)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (2)
Microsoft.AspNetCore.Http.Abstractions (5)
Microsoft.AspNetCore.Http.Connections (1)
Microsoft.AspNetCore.Mvc.Core (8)
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
Microsoft.AspNetCore.Mvc.Razor (2)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
Microsoft.AspNetCore.Mvc.RazorPages (1)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (7)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.AspNetCore.OutputCaching (2)
Microsoft.AspNetCore.Routing (2)
Microsoft.AspNetCore.Routing.Abstractions (2)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls (1)
Microsoft.AspNetCore.SignalR.Client.Core (2)
Microsoft.AspNetCore.SignalR.Core (8)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (3)
Microsoft.Build (37)
Microsoft.Build.Framework (10)
Microsoft.Build.Tasks.Core (9)
Microsoft.CodeAnalysis (31)
Microsoft.CodeAnalysis.Analyzers (11)
Microsoft.CodeAnalysis.AnalyzerUtilities (9)
Microsoft.CodeAnalysis.CodeStyle (14)
Microsoft.CodeAnalysis.CSharp (27)
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp.Features (3)
Microsoft.CodeAnalysis.Features (25)
Microsoft.CodeAnalysis.Features.ExternalAccess (1)
Microsoft.CodeAnalysis.NetAnalyzers (25)
Microsoft.NetCore.Analyzers\Runtime\DetectPreviewFeatureAnalyzer.cs (4)
914if (!requiresPreviewFeaturesSymbols.TryGetValue(symbol, out (bool isPreview, string? message, string? url) existing))
941if (!requiresPreviewFeaturesSymbols.TryGetValue(previewSymbol, out (bool isPreview, string? message, string? url) existing))
968if (!requiresPreviewFeaturesSymbols.TryGetValue(previewSymbol, out (bool isPreview, string? message, string? url) existing))
995if (!requiresPreviewFeaturesSymbols.TryGetValue(symbol, out (bool isPreview, string? message, string? url) existing))
Microsoft.CodeAnalysis.Razor.Compiler (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (7)
Microsoft.CodeAnalysis.VisualBasic (13)
Microsoft.CodeAnalysis.Workspaces (13)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.DotNet.Build.Tasks.Packaging (1)
Microsoft.DotNet.HotReload.WebAssembly.Browser (1)
Microsoft.Extensions.AI (2)
Microsoft.Extensions.AI.Abstractions (1)
Microsoft.Extensions.AI.Evaluation.Safety (1)
Microsoft.Extensions.AI.Tests (1)
Microsoft.Extensions.Caching.Hybrid (6)
Microsoft.Extensions.Caching.Memory (2)
Microsoft.Extensions.DependencyInjection (6)
Microsoft.Extensions.DependencyInjection.Abstractions (2)
Microsoft.Extensions.DotNetDeltaApplier (1)
Microsoft.Extensions.FileProviders.Physical (2)
Microsoft.Extensions.Http.Resilience (1)
Microsoft.Extensions.Localization (1)
Microsoft.Extensions.Logging (2)
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.Logging.Console (3)
Microsoft.Extensions.Logging.TraceSource (1)
Microsoft.Extensions.ML (2)
Microsoft.Extensions.Options (1)
Microsoft.Extensions.ServiceDiscovery.Abstractions (2)
Microsoft.Extensions.Telemetry (3)
Microsoft.JSInterop (1)
Microsoft.Maui (2)
Microsoft.Maui.Controls (2)
Microsoft.ML.Core (3)
Microsoft.ML.FastTree (5)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.ML.Tokenizers (1)
Microsoft.NET.Build.Containers (1)
Microsoft.NET.Build.Extensions.Tasks (2)
Microsoft.NET.Build.Tasks (5)
Microsoft.NET.StringTools (2)
Microsoft.TemplateEngine.Core (4)
Microsoft.VisualStudio.TestPlatform.Common (2)
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (2)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (5)
Microsoft.VisualStudio.TestPlatform.ObjectModel (3)
MSBuild (1)
NuGet.Commands (5)
NuGet.Configuration (1)
NuGet.Credentials (1)
NuGet.DependencyResolver.Core (3)
NuGet.Frameworks (1)
NuGet.LibraryModel (3)
NuGet.PackageManagement (2)
NuGet.Packaging (2)
NuGet.ProjectModel (1)
NuGet.Protocol (22)
PresentationFramework (2)
PresentationFramework.Aero (1)
PresentationFramework.Aero2 (1)
PresentationFramework.AeroLite (1)
PresentationFramework.Classic (1)
PresentationFramework.Luna (1)
PresentationFramework.Royale (1)
Roslyn.Diagnostics.Analyzers (10)
Shared (2)
System.ComponentModel.Annotations (2)
System.ComponentModel.TypeConverter (1)
System.Data.Common (1)
System.Data.Odbc (2)
System.Data.OleDb (2)
System.Diagnostics.DiagnosticSource (3)
System.IO.FileSystem.Watcher (1)
System.Net.Http (5)
System.Net.Http.WinHttpHandler (1)
System.Net.Quic (1)
System.Net.Requests (1)
System.Net.Security (2)
System.Private.CoreLib (5)
System.Private.DataContractSerialization (4)
System.Private.Windows.Core.TestUtilities (4)
System.Reflection.MetadataLoadContext (1)
System.Runtime.InteropServices (1)
System.Security.Cryptography (6)
System.ServiceModel.Primitives (3)
System.Text.Encoding.CodePages (3)
System.Text.Json (9)
System.Text.RegularExpressions (2)
System.Windows.Forms (5)
System.Xaml (18)
System\Xaml\XamlSchemaContext.cs (15)
148if (!_preferredPrefixes.TryGetValue(xmlns, out result))
237if (!prefixDict.TryGetValue(nsToPrefix.Key, out existingPrefix))
390if (XmlNsCompatDict.TryGetValue(xamlNamespace, out compatibleNamespace))
552if (!MasterTypeList.TryGetValue(type, out xamlType))
573if (!MasterBracketCharacterCache.TryGetValue(type, out bracketCharacterCache))
619if (!MasterValueConverterList.TryGetValue(key, out result))
632if (!MasterMemberList.TryGetValue(xpik, out member))
645if (!MasterMemberList.TryGetValue(xpik, out member))
659if (!MasterMemberList.TryGetValue(xpik, out property))
672if (!MasterMemberList.TryGetValue(xpik, out property))
949if (NamespaceByUriList.TryGetValue(xmlns, out xamlNamespace))
973if (XmlnsInfo.TryGetValue(assembly, out result) ||
975_xmlnsInfoForDynamicAssemblies.TryGetValue(new WeakRefKey(assembly), out result)) ||
976(_xmlnsInfoForUnreferencedAssemblies is not null && _xmlnsInfoForUnreferencedAssemblies.TryGetValue(assembly, out result)))
1043if (!assemblyMappings.TryGetValue(clrNs, out result))