Example #1
0
 /// <summary>Initializes the current <see cref="ExcelBackgroundWorker"/> object.
 /// </summary>
 /// <param name="excelBackgroundWorker">The <see cref="ExcelBackgroundWorker"/> object.</param>
 /// <param name="excelPoolItemType">The <see cref="ExcelPoolItemType"/> object of the <see cref="ExcelPoolItem"/> object(s) to create.</param>
 /// <param name="maximalNumberOfCalculationSteps">The maximal number of calculation steps.</param>
 /// <param name="calculationStepSize">The step size of the calculation.</param>
 public static void Initialize(this ExcelBackgroundWorker excelBackgroundWorker, ExcelPoolItemType excelPoolItemType, int maximalNumberOfCalculationSteps, int calculationStepSize = 1)
 {
     excelBackgroundWorker.Initialize(String.Format(XLResources.ExcelPoolItemBackgroundWorkerCreationTitle, excelPoolItemType.Name.String), maximalNumberOfCalculationSteps, calculationStepSize);
 }
Example #2
0
 /// <summary>Initializes the current <see cref="ExcelBackgroundWorker"/> object.
 /// </summary>
 /// <param name="excelBackgroundWorker">The <see cref="ExcelBackgroundWorker"/> object.</param>
 /// <param name="excelPoolItemType">The <see cref="ExcelPoolItemType"/> object of the <see cref="ExcelPoolItem"/> object(s) to create.</param>
 public static void Initialize(this ExcelBackgroundWorker excelBackgroundWorker, ExcelPoolItemType excelPoolItemType)
 {
     excelBackgroundWorker.Initialize(String.Format(XLResources.ExcelPoolItemBackgroundWorkerCreationTitle, excelPoolItemType.Name.String));
 }