Use nullability on the rest of core

This commit is contained in:
Nikolaj Geisle
2022-02-16 16:03:53 +01:00
parent 093d336cc7
commit 6be2cd45db
224 changed files with 873 additions and 773 deletions

View File

@@ -11,11 +11,11 @@ namespace Umbraco.Cms.Core.Models
{
[Required]
[DataMember(Name = "code", IsRequired = true)]
public string Code { get; set; }
public string? Code { get; set; }
[Required]
[DataMember(Name = "provider", IsRequired = true)]
public string Provider { get; set; }
public string? Provider { get; set; }
/// <summary>
/// Flag indicating whether the sign-in cookie should persist after the browser is closed.