Пример #1
0
 /// <summary>
 /// Initializes a new instance of an object.
 /// </summary>
 /// <param name="dispatcher">Dispatcher.</param>
 /// <param name="logger">Logger.</param>
 /// <param name="settings">Mail service settings.</param>
 public MailService(Dispatcher dispatcher, Logger logger, Settings settings)
 {
     this.Settings = settings;
     this.Dispatcher = dispatcher;
     this.Logger = logger;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of an object.
 /// </summary>
 /// <param name="dispatcher">Dispatcher.</param>
 /// <param name="settings">Mail service settings.</param>
 public MailService(Dispatcher dispatcher, Settings settings)
     : this(dispatcher, null, settings)
 {
 }