Start work on nullable-reference types in Infrastructure project

This commit is contained in:
Nikolaj Geisle
2022-02-18 14:32:51 +01:00
parent cb3e7706a8
commit b442a60403
199 changed files with 641 additions and 596 deletions

View File

@@ -29,14 +29,14 @@ namespace Umbraco.Cms.Core.Models.Email
public bool HasAttachments => Attachments != null && Attachments.Count > 0;
public NotificationEmailModel(
NotificationEmailAddress from,
IEnumerable<NotificationEmailAddress> to,
IEnumerable<NotificationEmailAddress> cc,
IEnumerable<NotificationEmailAddress> bcc,
IEnumerable<NotificationEmailAddress> replyTo,
string subject,
string body,
IEnumerable<EmailMessageAttachment> attachments,
NotificationEmailAddress? from,
IEnumerable<NotificationEmailAddress?>? to,
IEnumerable<NotificationEmailAddress>? cc,
IEnumerable<NotificationEmailAddress>? bcc,
IEnumerable<NotificationEmailAddress>? replyTo,
string? subject,
string? body,
IEnumerable<EmailMessageAttachment>? attachments,
bool isBodyHtml)
{
From = from;