Поделиться через


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>

Возвращаемое значение

Применяется к