/// <summary> /// /// </summary> /// <param name="state"></param> /// <param name="command"></param> /// <param name="invalidMailAddressList"></param> public SendMailResult(SendMailResultState state, SendMailCommand command, String message, IEnumerable <MailAddress> invalidMailAddressList) { this.Command = command; this.State = state; this.Message = message; this.InvalidMailAddressList.AddRange(invalidMailAddressList); }
/// <summary> /// /// </summary> /// <param name="state"></param> /// <param name="command"></param> /// <param name="invalidMailAddressList"></param> public SendMailResult(SendMailResultState state, SendMailCommand command, String message, IEnumerable<MailAddress> invalidMailAddressList) { this.Command = command; this.State = state; this.Message = message; this.InvalidMailAddressList.AddRange(invalidMailAddressList); }
/// <summary> /// /// </summary> /// <param name="state"></param> /// <param name="command"></param> public SendMailResult(SendMailResultState state, SendMailCommand command) { this.Command = command; this.State = state; this.Message = ""; }
/// <summary> /// /// </summary> /// <param name="state"></param> /// <param name="results"></param> public SendMailListResult(SendMailResultState state, IEnumerable <SendMailResult> results) { this.State = state; this.Results.AddRange(results); }
/// <summary> /// /// </summary> /// <param name="state"></param> public SendMailListResult(SendMailResultState state) { this.State = state; }
/// <summary> /// /// </summary> /// <param name="state"></param> /// <param name="results"></param> public SendMailListResult(SendMailResultState state, IEnumerable<SendMailResult> results) { this.State = state; this.Results.AddRange(results); }