Search Results for

    Show / Hide Table of Contents

    Class NullReporter

    A reporter that does nothing.

    Inheritance
    System.Object
    NullReporter
    Implements
    IReporter
    Namespace: McMaster.Extensions.CommandLineUtils
    Assembly: McMaster.Extensions.CommandLineUtils.dll
    Syntax
    public class NullReporter : IReporter

    Properties

    | Improve this Doc View Source

    Singleton

    A shared instance of NullReporter.

    Declaration
    public static IReporter Singleton { get; }
    Property Value
    Type Description
    IReporter

    Methods

    | Improve this Doc View Source

    Error(String)

    Report an error.

    Declaration
    public void Error(string message)
    Parameters
    Type Name Description
    System.String message
    | Improve this Doc View Source

    Output(String)

    Report console output.

    Declaration
    public void Output(string message)
    Parameters
    Type Name Description
    System.String message
    | Improve this Doc View Source

    Verbose(String)

    Report a verbose message.

    Declaration
    public void Verbose(string message)
    Parameters
    Type Name Description
    System.String message
    | Improve this Doc View Source

    Warn(String)

    Report a warning.

    Declaration
    public void Warn(string message)
    Parameters
    Type Name Description
    System.String message

    Implements

    IReporter
    • Improve this Doc
    • View Source
    In This Article
    Back to top