ECMA2 Framework
Home
  • Home
  • Using the Framework
    • Getting started
    • Definining the schema
    • Definining capabilites
    • Defining configuration parameters
    • Using the ProducerConsumerImportProvider
    • Building single-file assemblies
  • Additional resources
    • Example projects
      • Lithnet Okta Management Agent
      • Simple example
    • Troubleshooting
    • Change log
  • Advanced
    • API Reference
      • CapabilitiesConfigurationAttribute
      • CheckboxParameterAttribute
      • ConnectivityConfigurationAttribute
      • DataParameterAttribute
      • DividerParameterAttribute
      • DropdownParameterAttribute
      • Ecma2FrameworkOptions
      • EncryptedStringParameterAttribute
      • ExportContext
      • FileParameterAttribute
      • GlobalConfigurationAttribute
      • ICapabilitiesProvider
      • IConfigParameters
      • IConfigParametersProvider
      • IContextInitializer
      • ICSEntryChangeCollection
      • IEcmaStartup
      • ImportContext
      • IObjectExportProvider
      • IObjectImportProvider
      • IObjectPasswordProvider
      • ISchemaProvider
      • LabelParameterAttribute
      • MultilineTextboxParameterAttribute
      • ParameterAttribute
      • PartitionConfigurationAttribute
      • PasswordContext
      • ProducerConsumerImportProvider<TObject>
      • RunStepConfigurationAttribute
      • SchemaConfigurationAttribute
      • StringParameterAttribute
      • UIParameterAttribute
Powered by GitBook
On this page
  • Methods
  • InitializeAsync(ExportContext)
  • CanExportAsync(CSEntryChange)
  • PutCSEntryChangeAsync(CSEntryChange, CancellationToken)
  1. Advanced
  2. API Reference

IObjectExportProvider

PreviousImportContextNextIObjectImportProvider

Last updated 1 year ago

Namespace: Lithnet.Ecma2Framework

Defines the methods and properties that an object export provider must implement

public interface IObjectExportProvider

Methods

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 The context of the operation

Returns

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

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

Returns

if the provider can export the object, otherwise

cancellationToken A cancellation token

A task that represents the asynchronous operation

ExportContext
Task
Task<Boolean>
CancellationToken
Task<CSEntryChangeResult>