コード例 #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);
        }
コード例 #3
0
        public EmailTemplateModelWrapper(IDictionary <string, object> propertyMap)
        {
            Invariant.IsNotNull(propertyMap, "propertyMap");

            this.propertyMap = propertyMap;
        }