implicit operator TypedConstant(bool)
Converts a bool value into a TypedConstant of type bool.
Declaration
public static implicit operator TypedConstant(bool value)Parameters
| Type | Name | Description |
|---|---|---|
| bool | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(char)
Converts a char value into a TypedConstant of type char.
Declaration
public static implicit operator TypedConstant(char value)Parameters
| Type | Name | Description |
|---|---|---|
| char | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(sbyte)
Converts a sbyte value into a TypedConstant of type sbyte.
Declaration
public static implicit operator TypedConstant(sbyte value)Parameters
| Type | Name | Description |
|---|---|---|
| sbyte | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(byte)
Converts a byte value into a TypedConstant of type byte.
Declaration
public static implicit operator TypedConstant(byte value)Parameters
| Type | Name | Description |
|---|---|---|
| byte | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(short)
Converts a short value into a TypedConstant of type short.
Declaration
public static implicit operator TypedConstant(short value)Parameters
| Type | Name | Description |
|---|---|---|
| short | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(ushort)
Converts a ushort value into a TypedConstant of type ushort.
Declaration
public static implicit operator TypedConstant(ushort value)Parameters
| Type | Name | Description |
|---|---|---|
| ushort | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(int)
Converts a int value into a TypedConstant of type int.
Declaration
public static implicit operator TypedConstant(int value)Parameters
| Type | Name | Description |
|---|---|---|
| int | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(uint)
Converts a uint value into a TypedConstant of type uint.
Declaration
public static implicit operator TypedConstant(uint value)Parameters
| Type | Name | Description |
|---|---|---|
| uint | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(long)
Converts a long value into a TypedConstant of type long.
Declaration
public static implicit operator TypedConstant(long value)Parameters
| Type | Name | Description |
|---|---|---|
| long | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(ulong)
Converts a ulong value into a TypedConstant of type ulong.
Declaration
public static implicit operator TypedConstant(ulong value)Parameters
| Type | Name | Description |
|---|---|---|
| ulong | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(float)
Converts a float value into a TypedConstant of type float.
Declaration
public static implicit operator TypedConstant(float value)Parameters
| Type | Name | Description |
|---|---|---|
| float | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(double)
Converts a double value into a TypedConstant of type double.
Declaration
public static implicit operator TypedConstant(double value)Parameters
| Type | Name | Description |
|---|---|---|
| double | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |
implicit operator TypedConstant(decimal)
Converts a decimal value into a TypedConstant of type decimal.
Declaration
public static implicit operator TypedConstant(decimal value)Parameters
| Type | Name | Description |
|---|---|---|
| decimal | value |
Returns
| Type | Description |
|---|---|
| TypedConstant |