public override async Task RunDataCreation(Instance instance, object data) { await Task.CompletedTask; _instantiationHandler.DataCreation(instance, data); }
/// <summary> /// Is called to run custom instantiation events defined by app developer. /// </summary> /// <remarks> /// Instantiation events include validation and data manipulation (custom prefill) /// </remarks> /// <param name="instance">The data to perform calculations on</param> /// <param name="validationResults">Object containing any validation errors/warnings</param> /// <returns>Task to indicate when calculation is completed</returns> public override async Task RunDataCreation(Instance instance, object data) { _instantiationHandler.DataCreation(instance, data); }