|
IDLive Face C# API
1.50.5
|
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 More... | |||||
| override string | ToString () | ||||
| Returns string representation of object More... | |||||
Properties | |
| StatusInfo | Status [get] |
| Status info More... | |
| 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 More... | |
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
| Idrnd.FaceSdk.OptionalResult< T >.StatusInfo | ( | T | value, |
| StatusInfo | status | ||
| ) |
Constructor
| value | Result value |
| status | Status info |
| override string Idrnd.FaceSdk.OptionalResult< T >.ToString | ( | ) |
Returns string representation of object
|
get |
Status info
|
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