示例#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));
 }
		public ConversationTracking(IMailSelector selection)
		{
            _outlookApplication = new Application();
            _ns = _outlookApplication.GetNamespace("MAPI");
			_sent = _ns.GetDefaultFolder(OlDefaultFolders.olFolderSentMail);
			_selection = selection;
			Logger.LogInfo("EMAILTRACKING: Initialised Conversation Tracking");
		}
示例#3
0
		protected override ComparisonTracker NewComparisonTracker(IMailSelector selection)
		{
			return new MockComparisonTracker(selection);
		}
示例#4
0
		public MockRedlineMonitor(IMailSelector selection)
			: base(selection)
		{
		}
		public MockComparisonTracker(IMailSelector selection)
			: base(selection)
		{
		}