microsoft-visualbasic-runtime/CommandLine/Reflection/CLITypes.vb

83 lines
2.5 KiB
VB.net
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#Region "Microsoft.VisualBasic::f3ef09c8545f175c3a8c9566d2f571fc, Microsoft.VisualBasic.Core\CommandLine\Reflection\CLITypes.vb"
' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 Licensed
'
'
' GNU GENERAL PUBLIC LICENSE (GPL3)
'
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program. If not, see <http://www.gnu.org/licenses/>.
' /********************************************************************************/
' Summaries:
' Enum CLITypes
'
'
'
'
'
'
'
' /********************************************************************************/
#End Region
Imports Microsoft.VisualBasic.ApplicationServices
Namespace CommandLine.Reflection
''' <summary>
''' The data type enumeration of the target optional parameter switch.
''' </summary>
''' <remarks></remarks>
Public Enum CLITypes As Byte
''' <summary>
''' File/directory path, is equals most string.
''' (对于指定为路径类型的参数值,在生成命令行的时候会自动调用<see cref="CLIPath"/>函数在Linux系统之中文件夹也是一种文件)
''' </summary>
File = 1
''' <summary>
''' String.(对于指定为字符串类型的参数,在调用的时候回自动调用<see cref="Utils.CLIToken"/>函数)
''' </summary>
''' <remarks></remarks>
[String] = 2
''' <summary>
''' Int
''' </summary>
''' <remarks></remarks>
[Integer] = 3
''' <summary>
''' Real
''' </summary>
''' <remarks></remarks>
[Double] = 4
''' <summary>
''' This is a flag value, if this flag presents in the CLI, then this named Boolean value is TRUE, otherwise is FALSE.
''' </summary>
[Boolean] = 5
End Enum
End Namespace