ServiceBaseExtractResultTResult Method |
Extract an RPC result from a given string response, using the default serializer settings. This static method can be
used to simplify mock testing scenarios for projects built on the SDK.
Namespace:
SolidFire.Core
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax public TResult ExtractResult<TResult>(
string resultText
)
Parameters
- resultText
- Type: SystemString
The JSON-RPC response text to generate a result for
Type Parameters
- TResult
- The type of the result to return
Return Value
Type:
TResultThe RPC result extracted from the string response.
See Also