Method Literal
Literal(Int32)
Returns an expression that represents a literal of type Int32 to the StringBuilder.
Declaration
public static IExpression Literal(int value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | value |
Returns
Type | Description |
---|---|
IExpression |
Literal(UInt32, Boolean)
Returns an expression that represents a literal of type UInt32 to the StringBuilder.
Declaration
public static IExpression Literal(uint value, bool stronglyTyped = false)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | value | The literal value. |
Boolean | stronglyTyped | A value indicating if the literal should be qualified to remove any type ambiguity, for instance if the literal can only represent an Int32. |
Returns
Type | Description |
---|---|
IExpression |
Literal(Int16, Boolean)
Returns an expression that represents a literal of type Int16 to the StringBuilder.
Declaration
public static IExpression Literal(short value, bool stronglyTyped = false)
Parameters
Type | Name | Description |
---|---|---|
Int16 | value | The literal value. |
Boolean | stronglyTyped | A value indicating if the literal should be qualified to remove any type ambiguity, for instance if the literal can only represent an Int32. |
Returns
Type | Description |
---|---|
IExpression |
Literal(UInt16, Boolean)
Returns an expression that represents a literal of type UInt16 to the StringBuilder.
Declaration
public static IExpression Literal(ushort value, bool stronglyTyped = false)
Parameters
Type | Name | Description |
---|---|---|
UInt16 | value | The literal value. |
Boolean | stronglyTyped | A value indicating if the literal should be qualified to remove any type ambiguity, for instance if the literal can only represent an Int32. |
Returns
Type | Description |
---|---|
IExpression |
Literal(Int64, Boolean)
Returns an expression that represents a literal of type Int64 to the StringBuilder.
Declaration
public static IExpression Literal(long value, bool stronglyTyped = false)
Parameters
Type | Name | Description |
---|---|---|
Int64 | value | The literal value. |
Boolean | stronglyTyped | A value indicating if the literal should be qualified to remove any type ambiguity, for instance if the literal can only represent an Int32. |
Returns
Type | Description |
---|---|
IExpression |
Literal(UInt64, Boolean)
Returns an expression that represents a literal of type UInt64 to the StringBuilder.
Declaration
public static IExpression Literal(ulong value, bool stronglyTyped = false)
Parameters
Type | Name | Description |
---|---|---|
UInt64 | value | The literal value. |
Boolean | stronglyTyped | A value indicating if the literal should be qualified to remove any type ambiguity, for instance if the literal can only represent an Int32. |
Returns
Type | Description |
---|---|
IExpression |
Literal(Byte, Boolean)
Returns an expression that represents a literal of type Byte to the StringBuilder.
Declaration
public static IExpression Literal(byte value, bool stronglyTyped = false)
Parameters
Type | Name | Description |
---|---|---|
Byte | value | The literal value. |
Boolean | stronglyTyped | A value indicating if the literal should be qualified to remove any type ambiguity, for instance if the literal can only represent an Int32. |
Returns
Type | Description |
---|---|
IExpression |
Literal(SByte, Boolean)
Returns an expression that represents a literal of type SByte to the StringBuilder.
Declaration
public static IExpression Literal(sbyte value, bool stronglyTyped = false)
Parameters
Type | Name | Description |
---|---|---|
SByte | value | The literal value. |
Boolean | stronglyTyped | A value indicating if the literal should be qualified to remove any type ambiguity, for instance if the literal can only represent an Int32. |
Returns
Type | Description |
---|---|
IExpression |
Literal(Double, Boolean)
Returns an expression that represents a literal of type Double to the StringBuilder.
Declaration
public static IExpression Literal(double value, bool stronglyTyped = false)
Parameters
Type | Name | Description |
---|---|---|
Double | value | The literal value. |
Boolean | stronglyTyped | A value indicating if the literal should be qualified to remove any type ambiguity, for instance if the literal can only represent an Int32. |
Returns
Type | Description |
---|---|
IExpression |
Literal(Single, Boolean)
Returns an expression that represents a literal of type Single to the StringBuilder.
Declaration
public static IExpression Literal(float value, bool stronglyTyped = false)
Parameters
Type | Name | Description |
---|---|---|
Single | value | The literal value. |
Boolean | stronglyTyped | A value indicating if the literal should be qualified to remove any type ambiguity, for instance if the literal can only represent an Int32. |
Returns
Type | Description |
---|---|
IExpression |
Literal(Decimal, Boolean)
Returns an expression that represents a literal of type Decimal to the StringBuilder.
Declaration
public static IExpression Literal(Decimal value, bool stronglyTyped = false)
Parameters
Type | Name | Description |
---|---|---|
Decimal | value | The literal value. |
Boolean | stronglyTyped | A value indicating if the literal should be qualified to remove any type ambiguity, for instance if the literal can only represent an Int32. |
Returns
Type | Description |
---|---|
IExpression |
Literal(String, Boolean)
Returns an expression that represents a literal of type String to the StringBuilder.
Declaration
public static IExpression Literal(string value, bool stronglyTyped = false)
Parameters
Type | Name | Description |
---|---|---|
String | value | The literal value. |
Boolean | stronglyTyped | A value indicating if the |
Returns
Type | Description |
---|---|
IExpression |