Class NullReporter
A reporter that does nothing.
Inheritance
System.Object
NullReporter
Implements
Namespace: McMaster.Extensions.CommandLineUtils
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public class NullReporter : IReporter
Properties
| Improve this Doc View SourceSingleton
A shared instance of NullReporter.
Declaration
public static IReporter Singleton { get; }
Property Value
Type | Description |
---|---|
IReporter |
Methods
| Improve this Doc View SourceError(String)
Report an error.
Declaration
public void Error(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Output(String)
Report console output.
Declaration
public void Output(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Verbose(String)
Report a verbose message.
Declaration
public void Verbose(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
Warn(String)
Report a warning.
Declaration
public void Warn(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |