public async Task OutlookAppointment(IOutlook app) { await app.CreateNewOutlookAppointment(_obj); }
internal RailRoadImpl(TrafficVoxel voxel, ThinPlatform _owner, int idx, bool _hasRoof, IOutlook _outlook) : base(voxel, _owner, idx) { this._hasRoof = _hasRoof; this._outlook = _outlook; }
private void ThisAddIn_Startup(object sender, System.EventArgs e) { #if(DEBUG) log4net.Util.LogLog.InternalDebugging = true; #endif var dir = GetExecutionPath(); var logConfigPath = Path.Combine(dir, "Logging.config"); //MessageBox.Show("v5"); //MessageBox.Show("Logs stored in: " + logConfigPath); var logConfig = new FileInfo(logConfigPath); log4net.Config.XmlConfigurator.ConfigureAndWatch(logConfig); Log.Info("Add-in Starting"); var fi = new FileInfo("Logging.config"); try { _outlook = new OutlookConnector(Application); #if(DEBUG) RunFullSync(); #endif var ts = new ThreadStart(() => SyncLoop(RunFullSync)); var t = new Thread(ts) { Priority = ThreadPriority.BelowNormal, IsBackground = true, Name = "OutlookFogbugzTaskAddingBackground" }; t.Start(); } catch (Exception ex) { Log.Error("Error initializing", ex); } }
public TaskListSync(IOutlook outlook, IFogbugzConnector fogbugz, ITaskSync taskSync) { _outlook = outlook; _fogbugz = fogbugz; _taskSync = taskSync; }