Class DataImporterExtensions
Inheritance
Inherited Members
Namespace: EPiServer.Enterprise
Assembly: EPiServer.Enterprise.dll
Version: 11.20.7Syntax
public static class DataImporterExtensions
Methods
Import(IDataImporter, Stream)
Imports an import package that does not contain content specified by System.IO.Stream.
Declaration
public static ITransferLog Import(this IDataImporter dataImporter, Stream stream)
Parameters
Type | Name | Description |
---|---|---|
IDataImporter | dataImporter | The exporter that is being extended |
System.IO.Stream | stream | The stream to the import package |
Returns
Type | Description |
---|---|
ITransferLog | A logger with result |
Remarks
Potential errors and warnings are logged to returned logger
Continuous progress can be retreieved from Status.
Import(IDataImporter, Stream, ContentReference)
Imports the import packages specified by System.IO.Stream
Declaration
public static ITransferLog Import(this IDataImporter dataImporter, Stream stream, ContentReference destinationRoot)
Parameters
Type | Name | Description |
---|---|---|
IDataImporter | dataImporter | The exporter that is being extended |
System.IO.Stream | stream | The stream to the import package |
ContentReference | destinationRoot | The root where content items will be imported under |
Returns
Type | Description |
---|---|
ITransferLog | A logger with result |
Remarks
Potential errors and warnings are logged to returned logger
Continuous progress can be retreieved from Status.
Import(IDataImporter, Stream, ImportOptions)
Imports the import packages specified by System.IO.Stream
Declaration
public static ITransferLog Import(this IDataImporter dataImporter, Stream stream, ImportOptions options)
Parameters
Type | Name | Description |
---|---|---|
IDataImporter | dataImporter | The exporter that is being extended |
System.IO.Stream | stream | The stream to the import package |
ImportOptions | options | Options that specify settings for the import |
Returns
Type | Description |
---|---|
ITransferLog | A logger with result |
Remarks
Potential errors and warnings are logged to returned logger
Continuous progress can be retreieved from Status.