Search Results for

    Show / Hide Table of Contents

    Class CommandShellCommand

    Single shell command

    Inheritance
    System.Object
    CommandShellCommand
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.CommandShell
    Assembly: Simplic.CommandShell.dll
    Syntax
    public class CommandShellCommand

    Constructors

    | Improve this Doc View Source

    CommandShellCommand(String, CommandShellCommandDelegate, String[])

    Create shell command

    Declaration
    public CommandShellCommand(string commandName, CommandShellCommandDelegate methodDelegate, string[] requiredParameter)
    Parameters
    Type Name Description
    System.String commandName

    name of the command

    CommandShellCommandDelegate methodDelegate

    Delegate to the command

    System.String[] requiredParameter

    Reqwuired parameter for the command

    | Improve this Doc View Source

    CommandShellCommand(String, Object, String, String[])

    Create shell command

    Declaration
    public CommandShellCommand(string commandName, object classInstance, string methodName, string[] requiredParameter)
    Parameters
    Type Name Description
    System.String commandName

    name of the command

    System.Object classInstance

    Type of the class

    System.String methodName

    Name of the method to invoke

    System.String[] requiredParameter

    Reqwuired parameter for the command

    | Improve this Doc View Source

    CommandShellCommand(String, Type, String, String[])

    Create shell command

    Declaration
    public CommandShellCommand(string commandName, Type classType, string methodName, string[] requiredParameter)
    Parameters
    Type Name Description
    System.String commandName

    name of the command

    System.Type classType

    Type of the class

    System.String methodName

    Name of the method to invoke

    System.String[] requiredParameter

    Reqwuired parameter for the command

    Properties

    | Improve this Doc View Source

    ClassInstance

    Instance of a class

    Declaration
    public object ClassInstance { get; set; }
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    ClassType

    Type of the class in which the method will be invoked

    Declaration
    public Type ClassType { get; set; }
    Property Value
    Type Description
    System.Type
    | Improve this Doc View Source

    CommandName

    Name of the command

    Declaration
    public string CommandName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    MethodDelegate

    Delegate to the method which will be executed with the command

    Declaration
    public CommandShellCommandDelegate MethodDelegate { get; }
    Property Value
    Type Description
    CommandShellCommandDelegate
    | Improve this Doc View Source

    MethodName

    Name of the method which will be invoked

    Declaration
    public string MethodName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    RequiredParameter

    Array of required parameter

    Declaration
    public string[] RequiredParameter { get; }
    Property Value
    Type Description
    System.String[]

    Methods

    | Improve this Doc View Source

    Execute(CommandShellParameter[])

    Execute the current command

    Declaration
    public string Execute(CommandShellParameter[] parameter)
    Parameters
    Type Name Description
    CommandShellParameter[] parameter

    Parameter

    Returns
    Type Description
    System.String

    result of the command

    | Improve this Doc View Source

    GetHelpText()

    Get the help text (command) for the current command

    Declaration
    public string GetHelpText()
    Returns
    Type Description
    System.String

    Help text as a string

    | Improve this Doc View Source

    GetMethodHelpText()

    Get the help text (parameter) for the current command

    Declaration
    public string GetMethodHelpText()
    Returns
    Type Description
    System.String

    Help text as a string

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx