Example #1
0
        public override async Task <bool> RunCalculation(object data)
        {
            await Task.CompletedTask;

            return(_calculationHandler.Calculate(data));
        }
Example #2
0
 /// <summary>
 /// Run validation event to perform custom validations
 /// </summary>
 /// <param name="validationResults">Object to contain any validation errors/warnings</param>
 /// <returns>Value indicating if the form is valid or not</returns>
 public override async Task <bool> RunCalculation(object data)
 {
     return(_calculationHandler.Calculate(data));
 }