Fix last build errors
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user