Namespace: Lithnet.Ecma2Framework
Defines the methods and properties that an object export provider must implement
public interface IObjectExportProvider
InitializeAsync(ExportContext)
Initializes the object export provider. This method is called once at the start of an export operation
Task InitializeAsync(ExportContext context)
context ExportContext
The context of the operation
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)
csentry CSEntryChange
The CSEntryChange representing the object to be exported
Task<Boolean>
if the provider can export the object, otherwise
PutCSEntryChangeAsync(CSEntryChange, CancellationToken)
Exports the specified object
csentry CSEntryChange
The CSEntryChange representing the object to be exported
cancellationToken CancellationToken
A cancellation token
Task<CSEntryChangeResult>
A task that represents the asynchronous operation