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

@@ -54,7 +54,7 @@ namespace Umbraco.Cms.Core.Models
/// <summary>
/// Converts a value posted by the editor to a property value.
/// </summary>
object? FromEditor(ContentPropertyData editorValue, object currentValue);
object? FromEditor(ContentPropertyData editorValue, object? currentValue);
/// <summary>
/// Converts a property value to a value for the editor.
@@ -80,6 +80,6 @@ namespace Umbraco.Cms.Core.Models
/// <returns></returns>
XNode ConvertDbToXml(IPropertyType propertyType, object value);
string ConvertDbToString(IPropertyType propertyType, object value);
string ConvertDbToString(IPropertyType propertyType, object? value);
}
}