示例#1
0
 /// <summary>
 /// Initialize the configuration.
 /// </summary>
 /// <param name="config"></param>
 public void Init(EmailServiceSettings config)
 {
     _config = config;
 }
示例#2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EmailService"/> class.
        /// </summary>
        //public EmailService()
        //{
        //}

        /// <summary>
        /// Initializes a new instance of the <see cref="EmailService"/> class.
        /// </summary>
        /// <param name="config">The config.</param>
        public EmailService(EmailServiceSettings settings)
        {
            Init(settings);
        }