Esempio n. 1
0
 public static Task SaveAsByTemplateAsync(this Stream stream, byte[] templateBytes, object value)
 {
     return(ExcelTemplateFactory.GetProvider(stream).SaveAsByTemplateAsync(templateBytes, value));
 }
Esempio n. 2
0
 public static Task SaveAsByTemplateAsync(this Stream stream, string templatePath, object value)
 {
     return(ExcelTemplateFactory.GetProvider(stream).SaveAsByTemplateAsync(templatePath, value));
 }
Esempio n. 3
0
 public static void SaveAsByTemplate(this Stream stream, byte[] templateBytes, object value, IConfiguration configuration = null)
 {
     ExcelTemplateFactory.GetProvider(stream, configuration).SaveAsByTemplate(templateBytes, value);
 }
Esempio n. 4
0
 public static void SaveAsByTemplate(this Stream stream, byte[] templateBytes, object value)
 {
     ExcelTemplateFactory.GetProvider(stream).SaveAsByTemplate(templateBytes, value);
 }
Esempio n. 5
0
 public static void SaveAsByTemplate(this Stream stream, string templatePath, object value)
 {
     ExcelTemplateFactory.GetProvider(stream).SaveAsByTemplate(templatePath, value);
 }
Esempio n. 6
0
 public static async Task SaveAsByTemplateAsync(this Stream stream, byte[] templateBytes, object value, IConfiguration configuration = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     await ExcelTemplateFactory.GetProvider(stream, configuration).SaveAsByTemplateAsync(templateBytes, value, cancellationToken).ConfigureAwait(false);
 }