Add nullability to nucache & lucene projects

This commit is contained in:
Nikolaj Geisle
2022-03-30 13:34:56 +02:00
parent b52c4e50cf
commit 05a08bef63
105 changed files with 736 additions and 619 deletions

View File

@@ -12,7 +12,7 @@ namespace Umbraco.Cms.Infrastructure.PublishedCache.Persistence
IEnumerable<ContentNodeKit> GetBranchMediaSources(int id);
ContentNodeKit GetContentSource(int id);
ContentNodeKit GetMediaSource(int id);
IEnumerable<ContentNodeKit> GetTypeContentSources(IEnumerable<int> ids);
IEnumerable<ContentNodeKit> GetTypeContentSources(IEnumerable<int>? ids);
IEnumerable<ContentNodeKit> GetTypeMediaSources(IEnumerable<int> ids);
/// <summary>
@@ -37,9 +37,9 @@ namespace Umbraco.Cms.Infrastructure.PublishedCache.Persistence
/// <param name="mediaTypeIds">If not null will process content for the matching media types, if empty will process all media</param>
/// <param name="memberTypeIds">If not null will process content for the matching members types, if empty will process all members</param>
void Rebuild(
IReadOnlyCollection<int> contentTypeIds = null,
IReadOnlyCollection<int> mediaTypeIds = null,
IReadOnlyCollection<int> memberTypeIds = null);
IReadOnlyCollection<int>? contentTypeIds = null,
IReadOnlyCollection<int>? mediaTypeIds = null,
IReadOnlyCollection<int>? memberTypeIds = null);
bool VerifyContentDbCache();
bool VerifyMediaDbCache();