/// <summary> /// This method is called once for each session the user explicitly requests to be exported /// </summary> private void ExportSession(ISession session) { var exportDefintions = new SessionExportDefinition(_addInContext); if (!exportDefintions.Enabled) { return; } exportDefintions.Process(session); }
/// <summary> /// This method is called for background session analysis /// </summary> void ISessionAnalyzer.Process(ISession session) { var exportDefintions = new SessionExportDefinition(_addInContext); if (!(exportDefintions.Enabled && exportDefintions.Config.AutoExportSessions)) { return; } exportDefintions.Process(session); }