EntryPoint
Show / Hide Table of Contents

Class BaseCliCommands

The base class which must be derived from for a CliCommands implement

Inheritance
System.Object
BaseCliCommands
Syntax
public abstract class BaseCliCommands : IHelpable, IUserFacingExceptionHandler

Properties

| Improve this Doc

HelpInvoked

Declaration
public bool HelpInvoked { get; set; }
Property Value
Type Description
System.Boolean
Implements
IHelpable.HelpInvoked
| Improve this Doc

UserFacingExceptionThrown

Declaration
public bool UserFacingExceptionThrown { get; set; }
Property Value
Type Description
System.Boolean
Implements
IUserFacingExceptionHandler.UserFacingExceptionThrown

Methods

| Improve this Doc

OnHelpInvoked(String)

Declaration
public virtual void OnHelpInvoked(string helpText)
Parameters
Type Name Description
System.String helpText
Implements
IHelpable.OnHelpInvoked(String)
| Improve this Doc

OnUserFacingException(UserFacingException, String)

Declaration
public virtual void OnUserFacingException(UserFacingException e, string message)
Parameters
Type Name Description
UserFacingException e
System.String message
Implements
IUserFacingExceptionHandler.OnUserFacingException(UserFacingException, String)
  • Improve this Doc