1 instantiation of CommandsEventSource
NuGet.Commands (1)
CommandsEventSource.cs (1)
10public static readonly CommandsEventSource Instance = new();
45 references to CommandsEventSource
NuGet.Commands (45)
CommandsEventSource.cs (1)
10public static readonly CommandsEventSource Instance = new();
RestoreCommand\DependencyGraphResolver.cs (8)
214if (CommandsEventSource.Instance.IsEnabled()) 216CommandsEventSource.Instance.DependencyGraphResolver_CreateRestoreTargetGraphStart(_request.Project.FilePath, frameworkRuntimeDefinition.ToString()); 223if (CommandsEventSource.Instance.IsEnabled()) 225CommandsEventSource.Instance.DependencyGraphResolver_CreateRestoreTargetGraphStop(_request.Project.FilePath, frameworkRuntimeDefinition.ToString(), wasRestoreTargetGraphCreationSuccessful ? 1 : 0, resolvedPackages.Count, unresolvedPackages.Count); 918if (CommandsEventSource.Instance.IsEnabled()) 920CommandsEventSource.Instance.DependencyGraphResolver_ResolveDependencyGraphItemsStart(_request.Project.FilePath, pair.ToString()); 1401if (CommandsEventSource.Instance.IsEnabled()) 1403CommandsEventSource.Instance.DependencyGraphResolver_ResolveDependencyGraphItemsStop(_request.Project.FilePath, pair.ToString(), resolvedDependencyGraphItems.Count, restartCount, totalQueuedItemCount);
RestoreCommand\RestoreCommand.cs (12)
272if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_BuildAssetsFileStart(_request.Project.FilePath); 281if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_BuildAssetsFileStop(_request.Project.FilePath); 462if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_CalcNoOpRestoreStart(_request.Project.FilePath); 464if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_CalcNoOpRestoreStop(_request.Project.FilePath); 593if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_BuildRestoreGraphStart(_request.Project.FilePath); 607if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_BuildRestoreGraphStop(_request.Project.FilePath);
RestoreCommand\RestoreResult.cs (16)
192if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteAssetsFileStart(LockFilePath); 198if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteAssetsFileStop(LockFilePath); 201if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteCacheFileStart(CacheFilePath); 205if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteCacheFileStop(CacheFilePath); 208if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WritePackagesLockFileStart(_newPackagesLockFilePath); 212if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WritePackagesLockFileStop(_newPackagesLockFilePath); 215if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteDgSpecFileStart(_dependencyGraphSpecFilePath); 219if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteDgSpecFileStop(_dependencyGraphSpecFilePath);
RestoreCommand\RestoreRunner.cs (8)
261if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreRunner_RestoreProjectStart(request.Project.FilePath); 263if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreRunner_RestoreProjectStop(request.Project.FilePath); 294if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreRunner_CommitAsyncStart(summaryRequest.InputPath); 296if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreRunner_CommitAsyncStop(summaryRequest.InputPath);