Show / Hide Table of Contents

Interface ICommandProgram

Namespace: Benday.CommandsFramework
Assembly: Benday.CommandsFramework.dll
Syntax
public interface ICommandProgram

Properties

| Edit this page View Source

ImplementationAssembly

Declaration
Assembly ImplementationAssembly { get; }
Property Value
Type Description
Assembly
| Edit this page View Source

Options

Declaration
ICommandProgramOptions Options { get; }
Property Value
Type Description
ICommandProgramOptions

Methods

| Edit this page View Source

DisplayCommandsWithCategories(List<CommandAttribute>)

Displays the usage information for the program and all available commands displayed by category.

Declaration
void DisplayCommandsWithCategories(List<CommandAttribute> commands)
Parameters
Type Name Description
List<CommandAttribute> commands

List of commands

| Edit this page View Source

DisplayCommandsWithoutCategories(List<CommandAttribute>)

Displays the usage information for the program and all available commands displayed alphabetically.

Declaration
void DisplayCommandsWithoutCategories(List<CommandAttribute> commands)
Parameters
Type Name Description
List<CommandAttribute> commands

List of commands

| Edit this page View Source

DisplayUsage(CommandAttributeUtility)

Displays the usage information for the program and all available commands.

Declaration
void DisplayUsage(CommandAttributeUtility util)
Parameters
Type Name Description
CommandAttributeUtility util
| Edit this page View Source

Run(string[])

Declaration
void Run(string[] args)
Parameters
Type Name Description
string[] args
  • Edit this page
  • View Source
In this article
Back to top Copyright © www.benday.com | info@benday.com