Started using nullable reference types..

This commit is contained in:
Bjarke Berg
2021-12-16 13:44:20 +01:00
parent 11eaf176a9
commit 2ec92057c5
192 changed files with 752 additions and 723 deletions

View File

@@ -44,7 +44,7 @@ namespace Umbraco.Cms.Core.Configuration.Models
/// <summary>
/// Gets or sets a value for the authorization cookie domain.
/// </summary>
public string AuthCookieDomain { get; set; }
public string? AuthCookieDomain { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the user's email address is to be considered as their username.
@@ -60,11 +60,11 @@ namespace Umbraco.Cms.Core.Configuration.Models
/// <summary>
/// Gets or sets a value for the user password settings.
/// </summary>
public UserPasswordConfigurationSettings UserPassword { get; set; }
public UserPasswordConfigurationSettings? UserPassword { get; set; }
/// <summary>
/// Gets or sets a value for the member password settings.
/// </summary>
public MemberPasswordConfigurationSettings MemberPassword { get; set; }
public MemberPasswordConfigurationSettings? MemberPassword { get; set; }
}
}