Exemple #1
0
            internal TelemetryEvent ToTelemetryEvent()
            {
                var telemetry = new SolutionCloseEvent(
                    firstTimeLoadedFromPmc: FirstTimeLoadedFromPmc,
                    firstTimeLoadedFromPmui: FirstTimeLoadedFromPmui,
                    initPs1LoadedFromPmcFirst: InitPs1LoadedFromPmcFirst,
                    initPs1LoadPmc: InitPs1LoadPmc,
                    initPs1LoadPmui: InitPs1LoadPmui,
                    loadedFromPmc: LoadedFromPmc,
                    loadedFromPmui: LoadedFromPmui,
                    nuGetCommandUsed: NuGetCommandUsed,
                    pmcExecuteCommandCount: PmcExecuteCommandCount,
                    pmcWindowLoadCount: PmcWindowLoadCount,
                    pmuiExecuteCommandCount: PmuiExecuteCommandCount,
                    solutionLoaded: SolutionLoaded
                    );

                return(telemetry);
            }
 public static void RaiseSolutionCloseEvent()
 {
     SolutionCloseEvent?.Invoke();
 }