다음을 통해 공유


ICSharpHelper.Literal 메서드

정의

오버로드

Literal(BigInteger)

BigInteger 리터럴을 생성합니다.

Literal(Type, Nullable<Boolean>)

리터럴을 Type 생성합니다.

Literal(Enum, Boolean)

열거형 리터럴을 생성합니다.

Literal(IReadOnlyList<Object>, Boolean)

개체 배열 리터럴을 생성합니다.

Literal(UInt64)

ulong 리터럴을 생성합니다.

Literal(UInt32)

uint 리터럴을 생성합니다.

Literal(UInt16)

ushort 리터럴을 생성합니다.

Literal(TimeSpan)

TimeSpan 리터럴을 생성합니다.

Literal(TimeOnly)

TimeOnly 리터럴을 생성합니다.

Literal(String)

문자열 리터럴을 생성합니다.

Literal(Single)

float 리터럴을 생성합니다.

Literal(SByte)

sbyte 리터럴을 생성합니다.

Literal(Object[,])

다차원 배열 리터럴을 생성합니다.

Literal(Int64)

긴 리터럴을 생성합니다.

Literal(Guid)

Guid 리터럴을 생성합니다.

Literal(Int16)

짧은 리터럴을 생성합니다.

Literal(Boolean)

bool 리터럴을 생성합니다.

Literal(Int32)

int 리터럴을 생성합니다.

Literal(Byte[])

바이트 배열 리터럴을 생성합니다.

Literal(Char)

char 리터럴을 생성합니다.

Literal(IReadOnlyList<Object>)

개체 배열 리터럴을 생성합니다.

Literal(DateOnly)

DateOnly 리터럴을 생성합니다.

Literal(Byte)

바이트 리터럴을 생성합니다.

Literal(DateTimeOffset)

DateTimeOffset 리터럴을 생성합니다.

Literal(Decimal)

10진수 리터럴을 생성합니다.

Literal(Double)

이중 리터럴을 생성합니다.

Literal(Enum)

열거형 리터럴을 생성합니다.

Literal(DateTime)

DateTime 리터럴을 생성합니다.

Literal<T>(IReadOnlyList<T>)

배열 리터럴을 생성합니다.

Literal<T>(Nullable<T>)

nullable 리터럴을 생성합니다.

Literal<T>(List<T>, Boolean)

목록 리터럴을 생성합니다.

Literal<T>(T[], Boolean)

개체 배열 리터럴을 생성합니다.

Literal<TKey,TValue>(Dictionary<TKey,TValue>, Boolean)

사전 리터럴을 생성합니다.

Literal(BigInteger)

BigInteger 리터럴을 생성합니다.

public string Literal (System.Numerics.BigInteger value);
abstract member Literal : System.Numerics.BigInteger -> string
Public Function Literal (value As BigInteger) As String

매개 변수

value
BigInteger

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Type, Nullable<Boolean>)

리터럴을 Type 생성합니다.

public string Literal (Type value, bool? fullName = default);
abstract member Literal : Type * Nullable<bool> -> string
Public Function Literal (value As Type, Optional fullName As Nullable(Of Boolean) = Nothing) As String

매개 변수

value
Type

값입니다.

fullName
Nullable<Boolean>

형식이 네임스페이스로 한정되어야 하는지 여부입니다.

반환

리터럴입니다.

적용 대상

Literal(Enum, Boolean)

열거형 리터럴을 생성합니다.

public string Literal (Enum value, bool fullName = false);
abstract member Literal : Enum * bool -> string
Public Function Literal (value As Enum, Optional fullName As Boolean = false) As String

매개 변수

value
Enum

값입니다.

fullName
Boolean

형식이 네임스페이스로 한정되어야 하는지 여부입니다.

반환

리터럴입니다.

적용 대상

Literal(IReadOnlyList<Object>, Boolean)

개체 배열 리터럴을 생성합니다.

public string Literal (System.Collections.Generic.IReadOnlyList<object> values, bool vertical);
abstract member Literal : System.Collections.Generic.IReadOnlyList<obj> * bool -> string
Public Function Literal (values As IReadOnlyList(Of Object), vertical As Boolean) As String

매개 변수

values
IReadOnlyList<Object>

개체 배열입니다.

vertical
Boolean

리터럴을 세로로 레이아웃할지 여부를 나타내는 값입니다.

반환

리터럴입니다.

적용 대상

Literal(UInt64)

ulong 리터럴을 생성합니다.

public string Literal (ulong value);
abstract member Literal : uint64 -> string
Public Function Literal (value As ULong) As String

매개 변수

value
UInt64

값입니다.

반환

리터럴입니다.

적용 대상

Literal(UInt32)

uint 리터럴을 생성합니다.

public string Literal (uint value);
abstract member Literal : uint32 -> string
Public Function Literal (value As UInteger) As String

매개 변수

value
UInt32

값입니다.

반환

리터럴입니다.

적용 대상

Literal(UInt16)

ushort 리터럴을 생성합니다.

public string Literal (ushort value);
abstract member Literal : uint16 -> string
Public Function Literal (value As UShort) As String

매개 변수

value
UInt16

값입니다.

반환

리터럴입니다.

적용 대상

Literal(TimeSpan)

TimeSpan 리터럴을 생성합니다.

public string Literal (TimeSpan value);
abstract member Literal : TimeSpan -> string
Public Function Literal (value As TimeSpan) As String

매개 변수

value
TimeSpan

값입니다.

반환

리터럴입니다.

적용 대상

Literal(TimeOnly)

TimeOnly 리터럴을 생성합니다.

public string Literal (TimeOnly value);
abstract member Literal : TimeOnly -> string
Public Function Literal (value As TimeOnly) As String

매개 변수

value
TimeOnly

값입니다.

반환

리터럴입니다.

적용 대상

Literal(String)

문자열 리터럴을 생성합니다.

public string Literal (string value);
public string Literal (string? value);
abstract member Literal : string -> string
Public Function Literal (value As String) As String

매개 변수

value
String

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Single)

float 리터럴을 생성합니다.

public string Literal (float value);
abstract member Literal : single -> string
Public Function Literal (value As Single) As String

매개 변수

value
Single

값입니다.

반환

리터럴입니다.

적용 대상

Literal(SByte)

sbyte 리터럴을 생성합니다.

public string Literal (sbyte value);
abstract member Literal : sbyte -> string
Public Function Literal (value As SByte) As String

매개 변수

value
SByte

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Object[,])

다차원 배열 리터럴을 생성합니다.

public string Literal (object[,] values);
public string Literal (object?[,] values);
abstract member Literal : obj[,] -> string
Public Function Literal (values As Object(,)) As String

매개 변수

values
Object[,]

다차원 배열입니다.

반환

리터럴입니다.

적용 대상

Literal(Int64)

긴 리터럴을 생성합니다.

public string Literal (long value);
abstract member Literal : int64 -> string
Public Function Literal (value As Long) As String

매개 변수

value
Int64

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Guid)

Guid 리터럴을 생성합니다.

public string Literal (Guid value);
abstract member Literal : Guid -> string
Public Function Literal (value As Guid) As String

매개 변수

value
Guid

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Int16)

짧은 리터럴을 생성합니다.

public string Literal (short value);
abstract member Literal : int16 -> string
Public Function Literal (value As Short) As String

매개 변수

value
Int16

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Boolean)

bool 리터럴을 생성합니다.

public string Literal (bool value);
abstract member Literal : bool -> string
Public Function Literal (value As Boolean) As String

매개 변수

value
Boolean

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Int32)

int 리터럴을 생성합니다.

public string Literal (int value);
abstract member Literal : int -> string
Public Function Literal (value As Integer) As String

매개 변수

value
Int32

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Byte[])

바이트 배열 리터럴을 생성합니다.

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

매개 변수

values
Byte[]

바이트 배열입니다.

반환

리터럴입니다.

적용 대상

Literal(Char)

char 리터럴을 생성합니다.

public string Literal (char value);
abstract member Literal : char -> string
Public Function Literal (value As Char) As String

매개 변수

value
Char

값입니다.

반환

리터럴입니다.

적용 대상

Literal(IReadOnlyList<Object>)

개체 배열 리터럴을 생성합니다.

public string Literal (System.Collections.Generic.IReadOnlyList<object> values);
abstract member Literal : System.Collections.Generic.IReadOnlyList<obj> -> string
Public Function Literal (values As IReadOnlyList(Of Object)) As String

매개 변수

values
IReadOnlyList<Object>

개체 배열입니다.

반환

리터럴입니다.

적용 대상

Literal(DateOnly)

DateOnly 리터럴을 생성합니다.

public string Literal (DateOnly value);
abstract member Literal : DateOnly -> string
Public Function Literal (value As DateOnly) As String

매개 변수

value
DateOnly

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Byte)

바이트 리터럴을 생성합니다.

public string Literal (byte value);
abstract member Literal : byte -> string
Public Function Literal (value As Byte) As String

매개 변수

value
Byte

값입니다.

반환

리터럴입니다.

적용 대상

Literal(DateTimeOffset)

DateTimeOffset 리터럴을 생성합니다.

public string Literal (DateTimeOffset value);
abstract member Literal : DateTimeOffset -> string
Public Function Literal (value As DateTimeOffset) As String

매개 변수

value
DateTimeOffset

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Decimal)

10진수 리터럴을 생성합니다.

public string Literal (decimal value);
abstract member Literal : decimal -> string
Public Function Literal (value As Decimal) As String

매개 변수

value
Decimal

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Double)

double 리터럴을 생성합니다.

public string Literal (double value);
abstract member Literal : double -> string
Public Function Literal (value As Double) As String

매개 변수

value
Double

값입니다.

반환

리터럴입니다.

적용 대상

Literal(Enum)

열거형 리터럴을 생성합니다.

public string Literal (Enum value);
abstract member Literal : Enum -> string
Public Function Literal (value As Enum) As String

매개 변수

value
Enum

값입니다.

반환

리터럴입니다.

적용 대상

Literal(DateTime)

DateTime 리터럴을 생성합니다.

public string Literal (DateTime value);
abstract member Literal : DateTime -> string
Public Function Literal (value As DateTime) As String

매개 변수

value
DateTime

값입니다.

반환

리터럴입니다.

적용 대상

Literal<T>(IReadOnlyList<T>)

배열 리터럴을 생성합니다.

public string Literal<T> (System.Collections.Generic.IReadOnlyList<T> values);
abstract member Literal : System.Collections.Generic.IReadOnlyList<'T> -> string
Public Function Literal(Of T) (values As IReadOnlyList(Of T)) As String

형식 매개 변수

T

배열의 요소 형식입니다.

매개 변수

values
IReadOnlyList<T>

배열입니다.

반환

리터럴입니다.

적용 대상

Literal<T>(Nullable<T>)

nullable 리터럴을 생성합니다.

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

형식 매개 변수

T

nullable 형식의 기본 형식입니다.

매개 변수

value
Nullable<T>

nullable 값입니다.

반환

리터럴입니다.

적용 대상

Literal<T>(List<T>, Boolean)

목록 리터럴을 생성합니다.

public string Literal<T> (System.Collections.Generic.List<T> values, bool vertical = false);
abstract member Literal : System.Collections.Generic.List<'T> * bool -> string
Public Function Literal(Of T) (values As List(Of T), Optional vertical As Boolean = false) As String

형식 매개 변수

T

매개 변수

values
List<T>

목록입니다.

vertical
Boolean

리터럴을 세로로 레이아웃할지 여부를 나타내는 값입니다.

반환

리터럴입니다.

적용 대상

Literal<T>(T[], Boolean)

개체 배열 리터럴을 생성합니다.

public string Literal<T> (T[] values, bool vertical = false);
abstract member Literal : 'T[] * bool -> string
Public Function Literal(Of T) (values As T(), Optional vertical As Boolean = false) As String

형식 매개 변수

T

매개 변수

values
T[]

개체 배열입니다.

vertical
Boolean

리터럴을 세로로 레이아웃할지 여부를 나타내는 값입니다.

반환

리터럴입니다.

적용 대상

Literal<TKey,TValue>(Dictionary<TKey,TValue>, Boolean)

사전 리터럴을 생성합니다.

public string Literal<TKey,TValue> (System.Collections.Generic.Dictionary<TKey,TValue> values, bool vertical = false);
abstract member Literal : System.Collections.Generic.Dictionary<'Key, 'Value> * bool -> string
Public Function Literal(Of TKey, TValue) (values As Dictionary(Of TKey, TValue), Optional vertical As Boolean = false) As String

형식 매개 변수

TKey
TValue

매개 변수

values
Dictionary<TKey,TValue>

사전입니다.

vertical
Boolean

리터럴을 세로로 레이아웃할지 여부를 나타내는 값입니다.

반환

리터럴입니다.

적용 대상