Table of Contents

Class NullReporter

Namespace
McMaster.Extensions.CommandLineUtils
Assembly
McMaster.Extensions.CommandLineUtils.dll

A reporter that does nothing.

public class NullReporter : IReporter
Inheritance
object
NullReporter
Implements

Properties

Singleton

A shared instance of NullReporter.

public static IReporter Singleton { get; }

Property Value

IReporter

Methods

Error(string)

Report an error.

public void Error(string message)

Parameters

message string

Output(string)

Report console output.

public void Output(string message)

Parameters

message string

Verbose(string)

Report a verbose message.

public void Verbose(string message)

Parameters

message string

Warn(string)

Report a warning.

public void Warn(string message)

Parameters

message string