Skip to main content Skip to complementary content

GetQixObject Method

Overloads

GetQixObject<T>(String, Func<AsyncHandle, Func<Response, T>, String, Task<T>>, Func<Response, T>)

Get QIX object either from cache, or from the engine.

Declaration

      Task<T> GetQixObject<T>(string id, Func<AsyncHandle, Func<Response, T>, string, Task<T>> taskFactory, Func<Response, T> onResponse)
    where T : QixClassBase
    

Parameters

Type Name Description
System.String id

The ID of the qix object

System.Func<AsyncHandle, System.Func<Response, T>, System.String, System.Threading.Tasks.Task<T>> taskFactory

The engine method used to retrieve the object.

System.Func<Response, T> onResponse

The callback method used to parse the engine response.

Returns

Type Description
System.Threading.Tasks.Task<T>

A task with the qix object as result.

Type Parameters

Name Description
T

Type of qix object the method is expected to return.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!