Summary
Provides access to the same enhanced type conversion used to convert metadata types.
- Assembly
- Wyam
.Testing .dll - Namespace
- Wyam
.Testing .Execution - Containing Type
- TestExecutionContext
Syntax
public bool TryConvert<T>(Object value, out T result)
Type Parameters
| Name | Description |
|---|---|
| T | The destination type. |
Parameters
| Name | Type | Description |
|---|---|---|
| value | Object | The value to convert. |
| result | T | The result of the conversion. |
Return Value
| Type | Description |
|---|---|
| bool | true if the conversion could be completed, false otherwise. |
