More work on nullable references

This commit is contained in:
Nikolaj Geisle
2022-02-22 13:35:32 +01:00
parent 315e8d6fe6
commit a8cf6ee127
189 changed files with 1271 additions and 983 deletions

View File

@@ -66,7 +66,7 @@ namespace Umbraco.Cms.Core.Sync
/// When the refresh method is <see cref="RefreshMethodType.RefreshByIds"/> we know how many Ids are being refreshed so we know the instruction
/// count which will be taken into account when we store this count in the database.
/// </param>
private RefreshInstruction(ICacheRefresher refresher, RefreshMethodType refreshType, string json, int idCount = 1)
private RefreshInstruction(ICacheRefresher refresher, RefreshMethodType refreshType, string? json, int idCount = 1)
: this(refresher, refreshType)
{
JsonIdCount = idCount;
@@ -85,9 +85,9 @@ namespace Umbraco.Cms.Core.Sync
ICacheRefresher refresher,
IJsonSerializer jsonSerializer,
MessageType messageType,
IEnumerable<object> ids,
Type idType,
string json)
IEnumerable<object>? ids,
Type? idType,
string? json)
{
switch (messageType)
{