dotnet format --verbosity detailed --severity warn

This commit is contained in:
2022-02-14 15:02:16 -07:00
parent 0cfcb46ee7
commit 1b77400643
108 changed files with 12133 additions and 14712 deletions

View File

@ -1,24 +1,21 @@
using System;
namespace Adaptation.Eaf.Core.Smtp
namespace Adaptation.Eaf.Core.Smtp;
public class EmailMessage
{
public EmailMessage() { }
public EmailMessage(string subject, string body, MailPriority priority = MailPriority.Normal) { }
public class EmailMessage
{
public EmailMessage() { }
public EmailMessage(string subject, string body, MailPriority priority = MailPriority.Normal) { }
public string Body { get; }
public MailPriority Priority { get; }
public string Subject { get; }
public string Body { get; }
public MailPriority Priority { get; }
public string Subject { get; }
public EmailMessage PriorityHigh() { throw new NotImplementedException(); }
public EmailMessage PriorityLow() { throw new NotImplementedException(); }
public EmailMessage PriorityNormal() { throw new NotImplementedException(); }
public EmailMessage SetBody(string body) { throw new NotImplementedException(); }
public EmailMessage SetPriority(MailPriority priority) { throw new NotImplementedException(); }
public EmailMessage SetSubject(string subject) { throw new NotImplementedException(); }
}
public EmailMessage PriorityHigh() => throw new NotImplementedException();
public EmailMessage PriorityLow() => throw new NotImplementedException();
public EmailMessage PriorityNormal() => throw new NotImplementedException();
public EmailMessage SetBody(string body) => throw new NotImplementedException();
public EmailMessage SetPriority(MailPriority priority) => throw new NotImplementedException();
public EmailMessage SetSubject(string subject) => throw new NotImplementedException();
}

View File

@ -1,9 +1,6 @@
namespace Adaptation.Eaf.Core.Smtp
namespace Adaptation.Eaf.Core.Smtp;
public interface ISmtp
{
public interface ISmtp
{
void Send(EmailMessage message);
}
void Send(EmailMessage message);
}

View File

@ -1,11 +1,8 @@
namespace Adaptation.Eaf.Core.Smtp
namespace Adaptation.Eaf.Core.Smtp;
public enum MailPriority
{
public enum MailPriority
{
Low = 0,
Normal = 1,
High = 2
}
Low = 0,
Normal = 1,
High = 2
}