Search Results for

    Show / Hide Table of Contents

    Class CmdParser.Option

    A unit of significant text on the command line.

    Inheritance
    object
    CmdParser.Option
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Common.Helpers
    Assembly: Evergine.Common.dll
    Syntax
    public class CmdParser.Option

    Constructors

    Option(string, Func<string, bool>, string)

    Initializes a new instance of the CmdParser.Option class.

    Declaration
    public Option(string name, Func<string, bool> callback, string help)
    Parameters
    Type Name Description
    string name

    The argument name.

    Func<string, bool> callback

    The callback used to process it.

    string help

    The help sentence.

    Properties

    CallBack

    Gets the function pointer will process this option.

    Declaration
    public Func<string, bool> CallBack { get; }
    Property Value
    Type Description
    Func<string, bool>

    Help

    Gets the documentation senstence.

    Declaration
    public string Help { get; }
    Property Value
    Type Description
    string

    Name

    Gets argument uppercase text.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    Raw

    Gets or Sets Raw argument text.

    Declaration
    public string Raw { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX