9 references to NullReporter
dotnet (3)
Commands\Workload\Install\WorkloadGarbageCollector.cs (1)
35private readonly IReporter _verboseReporter = verboseReporter ?? Reporter.NullReporter;
Commands\Workload\Search\WorkloadSearchVersionsCommand.cs (2)
161installer ??= GenerateInstaller(Utils.Reporter.NullReporter, featureBand, resolver, VerbosityOptions.d, interactive: false); 176installer ??= GenerateInstaller(Utils.Reporter.NullReporter, featureBand, resolver, VerbosityOptions.d, interactive: false);
Microsoft.DotNet.Cli.Utils (6)
Reporter.cs (6)
37public static IReporter Output { get; private set; } = NullReporter; 38public static IReporter Error { get; private set; } = NullReporter; 39public static IReporter Verbose { get; private set; } = NullReporter; 96Output = CommandLoggingContext.OutputEnabled ? s_outputReporter : NullReporter; 101Error = CommandLoggingContext.ErrorEnabled ? s_errorReporter : NullReporter; 106Verbose = CommandLoggingContext.IsVerbose ? s_verboseReporter : NullReporter;