Show / Hide Table of Contents

    Class CommandBuilder

    Fluent DSL for building Command objects.

    Inheritance
    System.Object
    CommandBuilder
    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: Petabridge.Cmd
    Assembly: cs.temp.dll.dll
    Syntax
    public sealed class CommandBuilder

    Methods

    Build()

    Declaration
    public Command Build()
    Returns
    Type Description
    Command

    WithArgument(String, String)

    Declaration
    public CommandBuilder WithArgument(string argumentName, string argumentValue)
    Parameters
    Type Name Description
    System.String argumentName
    System.String argumentValue
    Returns
    Type Description
    CommandBuilder

    WithCommand(String)

    Declaration
    public CommandBuilder WithCommand(string commandName)
    Parameters
    Type Name Description
    System.String commandName
    Returns
    Type Description
    CommandBuilder

    WithFlag(String)

    Declaration
    public CommandBuilder WithFlag(string flagName)
    Parameters
    Type Name Description
    System.String flagName
    Returns
    Type Description
    CommandBuilder

    WithModule(String)

    Declaration
    public CommandBuilder WithModule(string moduleName)
    Parameters
    Type Name Description
    System.String moduleName
    Returns
    Type Description
    CommandBuilder
    Back to top Generated by DocFX