uPano  v3.1
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...
 
bool keepAlive = false
 Do not destroy the request after completion. If true, you must call Dispose yourself when you no longer need it to avoid memory leaks. 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...
 
- Properties inherited from InfinityCode.uPano.Requests.Request< T >
object? this[string key] [get, set]
 Gets and sets the user value to be stored in a request More...
 
Dictionary< string, object > customFields [get]
 Gets a dictionary of custom fields More...
 

Additional Inherited Members

- Public Member Functions inherited from InfinityCode.uPano.Requests.Request< T >
virtual void Dispose ()
 Disposes a 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