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