CSharpHelper.Literal 方法

定义

重载

Literal(UInt64)
Literal(UInt32)
Literal(UInt16)
Literal(TimeSpan)
Literal(String)
Literal(Single)
Literal(SByte)
Literal(Int64)
Literal(Int32)
Literal(Int16)
Literal(Guid)
Literal(Enum)
Literal(Double)
Literal(Decimal)
Literal(DateTimeOffset)
Literal(DateTime)
Literal(IReadOnlyList<String>)
Literal(Char)
Literal(Byte[])
Literal(Byte)
Literal(Boolean)
Literal<T>(Nullable<T>)

Literal(UInt64)

public virtual string Literal (ulong value);
abstract member Literal : uint64 -> string
override this.Literal : uint64 -> string
Public Overridable Function Literal (value As ULong) As String

参数

value
UInt64

返回

适用于

Literal(UInt32)

public virtual string Literal (uint value);
abstract member Literal : uint32 -> string
override this.Literal : uint32 -> string
Public Overridable Function Literal (value As UInteger) As String

参数

value
UInt32

返回

适用于

Literal(UInt16)

public virtual string Literal (ushort value);
abstract member Literal : uint16 -> string
override this.Literal : uint16 -> string
Public Overridable Function Literal (value As UShort) As String

参数

value
UInt16

返回

适用于

Literal(TimeSpan)

public virtual string Literal (TimeSpan value);
abstract member Literal : TimeSpan -> string
override this.Literal : TimeSpan -> string
Public Overridable Function Literal (value As TimeSpan) As String

参数

value
TimeSpan

返回

适用于

Literal(String)

public virtual string Literal (string value);
abstract member Literal : string -> string
override this.Literal : string -> string
Public Overridable Function Literal (value As String) As String

参数

value
String

返回

适用于

Literal(Single)

public virtual string Literal (float value);
abstract member Literal : single -> string
override this.Literal : single -> string
Public Overridable Function Literal (value As Single) As String

参数

value
Single

返回

适用于

Literal(SByte)

public virtual string Literal (sbyte value);
abstract member Literal : sbyte -> string
override this.Literal : sbyte -> string
Public Overridable Function Literal (value As SByte) As String

参数

value
SByte

返回

适用于

Literal(Int64)

public virtual string Literal (long value);
abstract member Literal : int64 -> string
override this.Literal : int64 -> string
Public Overridable Function Literal (value As Long) As String

参数

value
Int64

返回

适用于

Literal(Int32)

public virtual string Literal (int value);
abstract member Literal : int -> string
override this.Literal : int -> string
Public Overridable Function Literal (value As Integer) As String

参数

value
Int32

返回

适用于

Literal(Int16)

public virtual string Literal (short value);
abstract member Literal : int16 -> string
override this.Literal : int16 -> string
Public Overridable Function Literal (value As Short) As String

参数

value
Int16

返回

适用于

Literal(Guid)

public virtual string Literal (Guid value);
abstract member Literal : Guid -> string
override this.Literal : Guid -> string
Public Overridable Function Literal (value As Guid) As String

参数

value
Guid

返回

适用于

Literal(Enum)

public virtual string Literal (Enum value);
abstract member Literal : Enum -> string
override this.Literal : Enum -> string
Public Overridable Function Literal (value As Enum) As String

参数

value
Enum

返回

适用于

Literal(Double)

public virtual string Literal (double value);
abstract member Literal : double -> string
override this.Literal : double -> string
Public Overridable Function Literal (value As Double) As String

参数

value
Double

返回

适用于

Literal(Decimal)

public virtual string Literal (decimal value);
abstract member Literal : decimal -> string
override this.Literal : decimal -> string
Public Overridable Function Literal (value As Decimal) As String

参数

value
Decimal

返回

适用于

Literal(DateTimeOffset)

public virtual string Literal (DateTimeOffset value);
abstract member Literal : DateTimeOffset -> string
override this.Literal : DateTimeOffset -> string
Public Overridable Function Literal (value As DateTimeOffset) As String

参数

返回

适用于

Literal(DateTime)

public virtual string Literal (DateTime value);
abstract member Literal : DateTime -> string
override this.Literal : DateTime -> string
Public Overridable Function Literal (value As DateTime) As String

参数

value
DateTime

返回

适用于

Literal(IReadOnlyList<String>)

public virtual string Literal (System.Collections.Generic.IReadOnlyList<string> values);
abstract member Literal : System.Collections.Generic.IReadOnlyList<string> -> string
override this.Literal : System.Collections.Generic.IReadOnlyList<string> -> string
Public Overridable Function Literal (values As IReadOnlyList(Of String)) As String

参数

返回

适用于

Literal(Char)

public virtual string Literal (char value);
abstract member Literal : char -> string
override this.Literal : char -> string
Public Overridable Function Literal (value As Char) As String

参数

value
Char

返回

适用于

Literal(Byte[])

public virtual string Literal (byte[] values);
abstract member Literal : byte[] -> string
override this.Literal : byte[] -> string
Public Overridable Function Literal (values As Byte()) As String

参数

values
Byte[]

返回

适用于

Literal(Byte)

public virtual string Literal (byte value);
abstract member Literal : byte -> string
override this.Literal : byte -> string
Public Overridable Function Literal (value As Byte) As String

参数

value
Byte

返回

适用于

Literal(Boolean)

public virtual string Literal (bool value);
abstract member Literal : bool -> string
override this.Literal : bool -> string
Public Overridable Function Literal (value As Boolean) As String

参数

value
Boolean

返回

适用于

Literal<T>(Nullable<T>)

public virtual string Literal<T> (T? value) where T : struct;
abstract member Literal : Nullable<'T (requires 'T : struct)> -> string (requires 'T : struct)
override this.Literal : Nullable<'T (requires 'T : struct)> -> string (requires 'T : struct)
Public Overridable Function Literal(Of T As Structure) (value As Nullable(Of T)) As String

类型参数

T

参数

value
Nullable<T>

返回

适用于