Match TFS Changeset 303362
This commit is contained in:
		
							
								
								
									
										24
									
								
								EDA Viewer/Library/Eaf/Core/Smtp/EmailMessage.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								EDA Viewer/Library/Eaf/Core/Smtp/EmailMessage.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,24 @@ | ||||
| using System; | ||||
|  | ||||
| namespace Library.Eaf.Core.Smtp | ||||
| { | ||||
|  | ||||
|     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 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(); } | ||||
|  | ||||
|     } | ||||
|  | ||||
| } | ||||
							
								
								
									
										9
									
								
								EDA Viewer/Library/Eaf/Core/Smtp/ISmtp.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								EDA Viewer/Library/Eaf/Core/Smtp/ISmtp.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | ||||
| namespace Library.Eaf.Core.Smtp | ||||
| { | ||||
|  | ||||
|     public interface ISmtp | ||||
|     { | ||||
|         void Send(EmailMessage message); | ||||
|     } | ||||
|  | ||||
| } | ||||
							
								
								
									
										11
									
								
								EDA Viewer/Library/Eaf/Core/Smtp/MailPriority.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								EDA Viewer/Library/Eaf/Core/Smtp/MailPriority.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| namespace Library.Eaf.Core.Smtp | ||||
| { | ||||
|  | ||||
|     public enum MailPriority | ||||
|     { | ||||
|         Low = 0, | ||||
|         Normal = 1, | ||||
|         High = 2 | ||||
|     } | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user