2 implementations of Output
dotnet-dev-certs (2)
src\Tools\Shared\CommandLine\ConsoleReporter.cs (1)
57
public virtual void
Output
(string message)
src\Tools\Shared\CommandLine\NullReporter.cs (1)
20
public void
Output
(string message)
15 references to Output
dotnet-dev-certs (15)
Program.cs (13)
247
reporter.
Output
("Cleaning HTTPS development certificates from the machine. A prompt might get " +
252
reporter.
Output
("Cleaning HTTPS development certificates from the machine. This operation might " +
257
reporter.
Output
("Cleaning HTTPS development certificates from the machine. You may wish to update the " +
263
reporter.
Output
("HTTPS development certificates successfully removed from the machine.");
282
reporter.
Output
("No valid certificate found.");
307
reporter.
Output
($@"The following certificates were found, but none of them is trusted: {CertificateManager.ToCertificateDescription(certificates)}");
310
reporter.
Output
($@"Run the command with --verbose for more details.");
322
reporter.
Output
("Run the command with both --check and --trust options to ensure that the certificate is not only valid but also trusted.");
330
reporter.
Output
(certificates.Count switch
406
reporter.
Output
("The HTTPS developer certificate was generated successfully.");
413
reporter.
Output
("A valid HTTPS certificate is already present.");
443
reporter.
Output
("Successfully trusted the existing HTTPS certificate.");
446
reporter.
Output
("Successfully created and trusted a new HTTPS certificate.");
ReporterEventListener.cs (2)
25
EventLevel.LogAlways => _reporter.
Output
,
29
EventLevel.Informational => _reporter.
Output
,