Appearance
ConvertValue Method
Definition
- Namespace:
JASE - Assembly:
JASE.ReflectionTools.dll
Overloads
| Name | Description |
|---|---|
T ConvertValue(object input) | Converts the input object to the specified destination type T. |
object ConvertValue(object input, Type destinationType) | Converts the input object to the specified destination type. |
object ConvertValue(object input, Type destinationType)
csharp
object ConvertValue(object input, Type destinationType)Converts the input object to the specified destination type.
Parameters
| Name | Description |
|---|---|
destinationType | The type to convert the object to. |
input | The object to convert. |
Returns
The converted object.
T ConvertValue(object input)
csharp
T ConvertValue(object input)Converts the input object to the specified destination type T.
Type parameters
| Name | Description |
|---|---|
T | The type to convert the object to. |
Parameters
| Name | Description |
|---|---|
input | The object to convert. |
Returns
The converted object of type T.