API Reference
Class
OfficeInvoiceFileWorkflow
Thin local-file adapter over the memory workflow and shared atomic file commit owner.
Inheritance
- Object
- OfficeInvoiceFileWorkflow
Methods
public static async Task<OfficeInvoiceFileWorkflowResult> RunAsync(OfficeInvoiceFileWorkflowRequest request, InvoiceValidator validator = null, CancellationToken cancellationToken = default) #Returns:
Task<OfficeInvoiceFileWorkflowResult>Reads bounded XML and atomically creates a new output file after successful execution.
Parameters
- request OfficeIMO.Workflows.OfficeInvoiceFileWorkflowRequest
- validator OfficeIMO.Invoicing.Validation.InvoiceValidator = null
- cancellationToken System.Threading.CancellationToken = default
public static async Task<IReadOnlyList<OfficeInvoiceFileWorkflowResult>> RunBatchAsync(IEnumerable<OfficeInvoiceFileWorkflowRequest> requests, OfficeInvoiceWorkflowBatchOptions options = null, InvoiceValidator validator = null, CancellationToken cancellationToken = default) #Returns:
Task<IReadOnlyList<OfficeInvoiceFileWorkflowResult>>Preflights and captures all bounded inputs before sequential execution. Outputs cannot overwrite existing files, sources or another planned output. Publication is per item, not a batch transaction.
Parameters
- requests System.Collections.Generic.IEnumerable{OfficeIMO.Workflows.OfficeInvoiceFileWorkflowRequest}
- options OfficeIMO.Workflows.OfficeInvoiceWorkflowBatchOptions = null
- validator OfficeIMO.Invoicing.Validation.InvoiceValidator = null
- cancellationToken System.Threading.CancellationToken = default
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object