Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EmailMessageHandler"/> class.
 /// </summary>
 /// <param name="sessions">The sessions.</param>
 public EmailMessageHandler(IMomntzSessions sessions)
 {
     _sessions = sessions;
 }
 public void GetSession()
 {
     Sessions = new Databases(new DatabaseFactories());
     IntegrateWithNHProf();
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommentMessageHandler"/> class.
 /// </summary>
 /// <param name="sessions">The sessions.</param>
 /// <param name="spamService">The spam service.</param>
 public CommentMessageHandler(IMomntzSessions sessions, ICommentSpamService spamService)
 {
     _sessions    = sessions;
     _spamService = spamService;
 }