/// <summary> /// Adds an <see cref="IExportHandler"/> instance. /// </summary> /// <param name="handler">Export handler to be added.</param> /// <returns><see cref="InterceptionConfiguration"/> instance to enable fluent configuration.</returns> public InterceptionConfiguration AddHandler(IExportHandler handler) { if (handler == null) throw new ArgumentNullException("handler"); this.exportHandlers.Add(handler); return this; }
public Worker( IConnectionManager aConnectionManager, IExportHandler aExportHandler, ICanSendStringToClient stringSender) { this.aConnectionManager = aConnectionManager; this.aExportHandler = aExportHandler; this.aStringSender = stringSender; }
/// <summary> /// Adds an <see cref="IExportHandler"/> instance. /// </summary> /// <param name="handler">Export handler to be added.</param> /// <returns><see cref="InterceptionConfiguration"/> instance to enable fluent configuration.</returns> public InterceptionConfiguration AddHandler(IExportHandler handler) { if (handler == null) { throw new ArgumentNullException("handler"); } this.exportHandlers.Add(handler); return(this); }
public MailboxSearchTask(ITargetMailbox targetMailbox, IExportHandler exportHandler, string executingUserPrimarySmtpAddress, OrganizationId orgId, bool isDocIdHintFlightingEnabled) { Util.ThrowIfNull(targetMailbox, "targetMailbox"); Util.ThrowIfNull(exportHandler, "exportHandler"); this.isStatisticsOnlySearch = false; this.CurrentState = SearchState.NotStarted; this.Errors = new List <string>(1); this.TargetMailbox = targetMailbox; this.executingUserPrimarySmtpAddress = executingUserPrimarySmtpAddress; exportHandler.IsDocIdHintFlightingEnabled = isDocIdHintFlightingEnabled; this.exportHandler = exportHandler; this.ExportContext = this.exportHandler.ExportContext; this.exportHandler.OnReportStatistics += this.ReportStatistics; this.previewMaxMailboxes = 0; this.orgId = orgId; }
public ExcelExportor(IExportHandler handler) { m_Handler = handler; }
public MailboxSearchTask(ITargetMailbox targetMailbox, IExportHandler exportHandler, string executingUserPrimarySmtpAddress, OrganizationId orgId) : this(targetMailbox, exportHandler, executingUserPrimarySmtpAddress, orgId, false) { }
public ExportController(IExportHandler impl) { _impl = impl; }
public Project(IExportHandler exportHandler) : this() { this.ExportHandler = exportHandler; }
// ReSharper disable once UnusedMember.Global public TourPlannerServer(IDataManagement db, IMapApi map, IExportHandler handler) { this.db = db; this.map = map; this.handler = handler; }
public Sprint(SprintState sprintState, IExportHandler exportHandler) : this(sprintState) { this.ExportHandler = exportHandler; }