Esempio n. 1
0
 public ComparisonTracker(IMailSelector selection)
 {
     _selection = selection;
     _workTodo = new NotificationQueue<ComparisonInformation>();
     _workTodo.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(_workTodo_CollectionChanged);
     Logger.LogInfo(string.Format(CultureInfo.CurrentCulture, "EMAILTRACKING: Initialised Comparison Tracker - Working Threads Available = {0}", 1));
 }
Esempio n. 2
0
		public ConversationTracking(IMailSelector selection)
		{
            _outlookApplication = new Application();
            _ns = _outlookApplication.GetNamespace("MAPI");
			_sent = _ns.GetDefaultFolder(OlDefaultFolders.olFolderSentMail);
			_selection = selection;
			Logger.LogInfo("EMAILTRACKING: Initialised Conversation Tracking");
		}
Esempio n. 3
0
		protected override ComparisonTracker NewComparisonTracker(IMailSelector selection)
		{
			return new MockComparisonTracker(selection);
		}
Esempio n. 4
0
		public MockRedlineMonitor(IMailSelector selection)
			: base(selection)
		{
		}
		public MockComparisonTracker(IMailSelector selection)
			: base(selection)
		{
		}