IObjectExportProvider
Namespace: Lithnet.Ecma2Framework
Defines the methods and properties that an object export provider must implement
public interface IObjectExportProviderMethods
InitializeAsync(ExportContext)
Initializes the object export provider. This method is called once at the start of an export operation
Task InitializeAsync(ExportContext context)Parameters
context ExportContext
The context of the operation
Returns
Task A task that represents the asynchronous operation
CanExportAsync(CSEntryChange)
Indicates whether the object export provider can export objects of the specified type
Task<bool> CanExportAsync(CSEntryChange csentry)Parameters
csentry CSEntryChange
The CSEntryChange representing the object to be exported
Returns
Task<Boolean> if the provider can export the object, otherwise
PutCSEntryChangeAsync(CSEntryChange, CancellationToken)
Exports the specified object
Task<CSEntryChangeResult> PutCSEntryChangeAsync(CSEntryChange csentry, CancellationToken cancellationToken)Parameters
csentry CSEntryChange
The CSEntryChange representing the object to be exported
cancellationToken CancellationToken
A cancellation token
Returns
Task<CSEntryChangeResult> A task that represents the asynchronous operation
Last updated