Class
OfficeInvoiceFileWorkflow
OfficeIMO.Workflows
Thin local-file adapter over the memory workflow and shared atomic file commit owner.
Inheritance
- object
- OfficeInvoiceFileWorkflow
Methods
RunAsync 2 overloads
public static Task<OfficeInvoiceFileWorkflowResult> RunAsync(OfficeInvoiceFileWorkflowRequest request, CancellationToken cancellationToken = default) #Reads and executes one bounded invoice without a standards provider.
Parameters
- request OfficeIMO.Workflows.OfficeInvoiceFileWorkflowRequest
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<OfficeInvoiceFileWorkflowResult>public static Task<OfficeInvoiceFileWorkflowResult> RunAsync(OfficeInvoiceFileWorkflowRequest request, InvoiceValidator? validator, CancellationToken cancellationToken = default) #Reads and executes one bounded invoice with an explicit standards provider.
Parameters
- request OfficeIMO.Workflows.OfficeInvoiceFileWorkflowRequest
- validator OfficeIMO.Invoicing.Validation.InvoiceValidator?
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<OfficeInvoiceFileWorkflowResult>RunBatchAsync 2 overloads
public static Task<IReadOnlyList<OfficeInvoiceFileWorkflowResult>> RunBatchAsync(IEnumerable<OfficeInvoiceFileWorkflowRequest> requests, OfficeInvoiceWorkflowBatchOptions? options = null, CancellationToken cancellationToken = default) #Executes a bounded invoice batch without a standards provider.
Parameters
- requests System.Collections.Generic.IEnumerable<OfficeIMO.Workflows.OfficeInvoiceFileWorkflowRequest>
- options OfficeIMO.Workflows.OfficeInvoiceWorkflowBatchOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<IReadOnlyList<OfficeInvoiceFileWorkflowResult>>public static Task<IReadOnlyList<OfficeInvoiceFileWorkflowResult>> RunBatchAsync(IEnumerable<OfficeInvoiceFileWorkflowRequest> requests, OfficeInvoiceWorkflowBatchOptions? options, InvoiceValidator? validator, CancellationToken cancellationToken = default) #Executes a bounded invoice batch with an explicit standards provider.
Parameters
- requests System.Collections.Generic.IEnumerable<OfficeIMO.Workflows.OfficeInvoiceFileWorkflowRequest>
- options OfficeIMO.Workflows.OfficeInvoiceWorkflowBatchOptions?
- validator OfficeIMO.Invoicing.Validation.InvoiceValidator?
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<IReadOnlyList<OfficeInvoiceFileWorkflowResult>>