CreateChildAsync Method
Overloads
| CreateChildAsync<T>(GenericObjectProperties, GenericObjectProperties) | Async creation of child generic object | |
| CreateChildAsync<T>(AsyncHandle, Func<Response, T>, GenericObjectProperties, GenericObjectProperties) | Async creation of child generic object | 
CreateChildAsync<T>(GenericObjectProperties, GenericObjectProperties)
Async creation of child generic object
Declaration
      public Task<T> CreateChildAsync<T>([QixName("qProp")] GenericObjectProperties prop, [QixName("qPropForThis")] GenericObjectProperties propForThis)
    where T : GenericObject
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| GenericObjectProperties | prop | Properties for the child to create | 
| GenericObjectProperties | propForThis | Properties for the parent object (this) | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<T> | A task with the created object as result | 
Type Parameters
| Name | Description | 
|---|---|
| T | Type of the child to create | 
Implements
CreateChildAsync<T>(AsyncHandle, Func<Response, T>, GenericObjectProperties, GenericObjectProperties)
Async creation of child generic object
Declaration
      public Task<T> CreateChildAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qProp")] GenericObjectProperties prop, [QixName("qPropForThis")] GenericObjectProperties propForThis)
    where T : GenericObject
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| AsyncHandle | asyncHandle | A string handle allowing the user to access request status | 
| System.Func<Response, T> | onResult | Response handler that is used to change the Response object into an instance of T | 
| GenericObjectProperties | prop | Properties for the child to create | 
| GenericObjectProperties | propForThis | Properties for the parent object (this) | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<T> | A task with the created object as result | 
Type Parameters
| Name | Description | 
|---|---|
| T | Type of the child to create |