public SmtpClientWrapper(SmtpClient realClient) { Invariant.IsNotNull(realClient, "realClient"); this.realClient = realClient; }
public void Send(MailMessage message) { Invariant.IsNotNull(message, "message"); realClient.Send(message); }
public EmailTemplateModelWrapper(IDictionary <string, object> propertyMap) { Invariant.IsNotNull(propertyMap, "propertyMap"); this.propertyMap = propertyMap; }