CommandLine optional value helper data model
DefaultString
01 Syntax
Microsoft.VisualBasic.Language.Default.DefaultString
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| LoadJson | 1 | 如果文件不存在或者文本内容为空,则函数返回空值 |
| op_BitwiseOr | 2 | Get a Int32 value or using default Int32 value. |
| LoadXml | 1 | |
| LoadJson | 1 | |
| Base64Decode | 1 | |
| ReadAllLines | 1 | |
| ToString | 1 | |
| op_BitwiseAnd | 1 | |
| op_Explicit | 1 | |
| op_Implicit | 1 | |
| op_True | 1 | |
| op_False | 1 | |
| op_OnesComplement | 1 | |
| op_Concatenate | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| DefaultValue | 1 | The optional argument value that read from CommandLine |
| IsEmpty | 1 | DefaultString.DefaultValue is empty? |
| IsTrue | 1 |
04 Members
LoadJson``1
如果文件不存在或者文本内容为空,则函数返回空值
Type Parameters
| Name | Description |
|---|---|
T |
op_BitwiseOr(DefaultString,
String)If value is empty then returns default, else returns value itself.
Parameters
| Name | Type | Description |
|---|---|---|
value | DefaultString | - |
default$ | String | - |
op_BitwiseOr(DefaultString,
Int32)Get a Int32 value or using default Int32 value.
Parameters
| Name | Type | Description |
|---|---|---|
value | DefaultString | - |
x% | Int32 | - |
DefaultValue
The optional argument value that read from CommandLine
IsEmpty
DefaultString.DefaultValue is empty?
IsTrue
LoadXml(
Boolean)LoadJson()
Base64Decode(
Boolean)ReadAllLines()
ToString()
op_BitwiseAnd(
Boolean, DefaultString)op_Explicit(DefaultString)
op_Implicit(
String)op_True(DefaultString)
op_False(DefaultString)
op_OnesComplement(DefaultString)
op_Concatenate(DefaultString,
String)