2 writes to _itemsById
aspire (2)
Documentation\ApiDocs\ApiDocsIndexService.cs (2)
562
_itemsById
= items.ToDictionary(static item => item.Id, StringComparer.OrdinalIgnoreCase);
707
_itemsById
= mergedItems;
23 references to _itemsById
aspire (23)
Documentation\ApiDocs\ApiDocsIndexService.cs (23)
351
if (_indexedItems is not null &&
_itemsById
is not null)
360
if (_indexedItems is not null &&
_itemsById
is not null)
518
if (
_itemsById
is null)
524
if (!
_itemsById
.TryGetValue(normalizedId, out var item))
532
if (
_itemsById
is null || !
_itemsById
.TryGetValue(normalizedId, out item))
571
if (_memberCacheLoaded || _indexedItems is null ||
_itemsById
is null)
580
if (_memberCacheLoaded || _indexedItems is null ||
_itemsById
is null)
615
if (
_itemsById
is null || memberContainerIds.Count is 0)
623
.Select(containerId =>
_itemsById
.TryGetValue(containerId, out var containerItem) ? containerItem : null)
666
if (
_itemsById
is null)
696
if (_indexedItems is null ||
_itemsById
is null || items.Length is 0)
701
var mergedItems = new Dictionary<string, ApiReferenceItem>(
_itemsById
, StringComparer.OrdinalIgnoreCase);
756
=>
_itemsById
is not null &&
757
_itemsById
.TryGetValue(normalizedScope, out var scopeItem) &&
777
=>
_itemsById
is not null &&
778
_itemsById
.Values.Any(item =>
789
if (
_itemsById
is null)
801
..
_itemsById
.Values
816
=>
_itemsById
is null
818
:
_itemsById
.Values
824
if (
_itemsById
is null)
835
var cachedMemberItems =
_itemsById
.Values