예제 #1
0
        public SmtpClientWrapper(SmtpClient realClient)
        {
            Invariant.IsNotNull(realClient, "realClient");

            this.realClient = realClient;
        }
예제 #2
0
        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;
        }