Fix last build errors

This commit is contained in:
Nikolaj Geisle
2022-02-24 14:39:29 +01:00
parent 3bf2778803
commit 2009f7585b
93 changed files with 556 additions and 450 deletions

View File

@@ -11,14 +11,14 @@ namespace Umbraco.Cms.Core.Models
[DataContract(IsReference = true)]
public class KeyValue : EntityBase, IKeyValue, IEntity
{
private string? _identifier;
private string _identifier = null!;
private string? _value;
/// <inheritdoc />
public string? Identifier
public string Identifier
{
get => _identifier;
set => SetPropertyValueAndDetectChanges(value, ref _identifier, nameof(Identifier));
set => SetPropertyValueAndDetectChanges(value, ref _identifier!, nameof(Identifier));
}
/// <inheritdoc />