2 writes to _itemsById
aspire (2)
Documentation\ApiDocs\ApiDocsIndexService.cs (2)
571
_itemsById
= items.ToDictionary(static item => item.Id, StringComparer.OrdinalIgnoreCase);
716
_itemsById
= mergedItems;
23 references to _itemsById
aspire (23)
Documentation\ApiDocs\ApiDocsIndexService.cs (23)
360
if (_indexedItems is not null &&
_itemsById
is not null)
369
if (_indexedItems is not null &&
_itemsById
is not null)
527
if (
_itemsById
is null)
533
if (!
_itemsById
.TryGetValue(normalizedId, out var item))
541
if (
_itemsById
is null || !
_itemsById
.TryGetValue(normalizedId, out item))
580
if (_memberCacheLoaded || _indexedItems is null ||
_itemsById
is null)
589
if (_memberCacheLoaded || _indexedItems is null ||
_itemsById
is null)
624
if (
_itemsById
is null || memberContainerIds.Count is 0)
632
.Select(containerId =>
_itemsById
.TryGetValue(containerId, out var containerItem) ? containerItem : null)
675
if (
_itemsById
is null)
705
if (_indexedItems is null ||
_itemsById
is null || items.Length is 0)
710
var mergedItems = new Dictionary<string, ApiReferenceItem>(
_itemsById
, StringComparer.OrdinalIgnoreCase);
769
=>
_itemsById
is not null &&
770
_itemsById
.TryGetValue(normalizedScope, out var scopeItem) &&
790
=>
_itemsById
is not null &&
791
_itemsById
.Values.Any(item =>
802
if (
_itemsById
is null)
814
..
_itemsById
.Values
829
=>
_itemsById
is null
831
:
_itemsById
.Values
837
if (
_itemsById
is null)
848
var cachedMemberItems =
_itemsById
.Values