IDLive Face C# API 1.46.0
|
Optional result wrapper, wraps an instance of a result class and only allows to access it when status is OK. More...
Public Member Functions | |||||
StatusInfo (T value, StatusInfo status) | |||||
Constructor
| |||||
bool | Ok () | ||||
Checks if status is OK. | |||||
override string | ToString () | ||||
Returns string representation of object. | |||||
Properties | |
StatusInfo | Status [get] |
Status info. | |
T | Value [get] |
Result value. Getter throws an exception if status is not OK. Use Ok() method before getter call to check if result is valid and available. | |
Optional result wrapper, wraps an instance of a result class and only allows to access it when status is OK.
bool Idrnd.FaceSdk.OptionalResult< T >.Ok | ( | ) |
Checks if status is OK.
override string Idrnd.FaceSdk.OptionalResult< T >.ToString | ( | ) |
Returns string representation of object.