uPano  v2.3
InfinityCode.uPano.Requests.StatusRequest< T > Class Template Reference

Base class of a request that has the result status More...

Inheritance diagram for InfinityCode.uPano.Requests.StatusRequest< T >:
InfinityCode.uPano.Requests.Request< T >

Public Attributes

Action< T > OnSuccess
 Action that occurs when the request is successful More...
 
Action< T > OnError
 Action that occurs when the request is failed More...
 
- Public Attributes inherited from InfinityCode.uPano.Requests.Request< T >
Action< T > OnComplete
 Action that occurs when the request is completed More...
 

Properties

abstract bool hasErrors [get]
 Gets whether the request contains an error More...
 
abstract string error [get]
 Gets an error of the request More...
 

Detailed Description

Base class of a request that has the result status

Template Parameters
TType of request
Type Constraints
T :StatusRequest<T> 

Member Data Documentation

◆ OnError

Action that occurs when the request is failed

◆ OnSuccess

Action that occurs when the request is successful

Property Documentation

◆ error

abstract string InfinityCode.uPano.Requests.StatusRequest< T >.error
get

Gets an error of the request

◆ hasErrors

abstract bool InfinityCode.uPano.Requests.StatusRequest< T >.hasErrors
get

Gets whether the request contains an error