Skip to content

Method ParseResult<T> ​

Namespace: Belay.Core
Assembly: Belay.Core.dll

ParseResult<T>(string) ​

Parses device output as the specified type.

csharp
public static T ParseResult<T>(string deviceOutput)

Parameters ​

deviceOutput string

The raw output from the device.

Returns ​

T

The parsed result.

Type Parameters ​

T

The type to parse the output as.

Exceptions ​

DeviceException

Thrown when parsing fails.

Released under the Apache License 2.0.