Search Results for

    Show / Hide Table of Contents

    Class CliAttribute

    Attribute class to add names for command line options.

    Inheritance
    System.Object
    CliAttribute
    Namespace: TeleScope.UI.Cli.Options
    Assembly: TeleScope.UI.Cli.dll
    Syntax
    public class CliAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    CliAttribute()

    The default empty constructor.

    Declaration
    public CliAttribute()
    | Improve this Doc View Source

    CliAttribute(String, String)

    The constructor sets the properties Short and Long of the attribute.

    Declaration
    public CliAttribute(string shortTerm, string longTerm)
    Parameters
    Type Name Description
    System.String shortTerm
    System.String longTerm

    Properties

    | Improve this Doc View Source

    Long

    Gets or sets the long term of the command line option. Do not use any special characters, pre- or suffixes.

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

    Short

    Gets or sets the short term of the command line option. Do not use any special characters, pre- or suffixes.

    Declaration
    public string Short { get; set; }
    Property Value
    Type Description
    System.String
    • GITHUB
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top
    Copyright 2020-2022 TeleScope-dotnet. Generated by DocFX.
    ☀
    ☾