Class DataExporter
Inheritance
System.Object
DataExporter
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
[Obsolete("Use IDataExporter (or IDataExportEvents for events)", true)]
public class DataExporter : ExportImportBase, ITransferContext, IContentTransferContext, ITransferHandlerContext, IDataExporter, IDisposable
Constructors
DataExporter()
Declaration
Properties
Culture
Declaration
public CultureInfo Culture { get; set; }
Property Value
Type |
Description |
System.Globalization.CultureInfo |
|
ExportableItems
Declaration
public IDictionary<string, IList> ExportableItems { get; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Collections.IList> |
|
NumberOfExportedCategories
Declaration
public int NumberOfExportedCategories { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
NumberOfExportedContentTypes
Declaration
public int NumberOfExportedContentTypes { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
NumberOfExportedDynamicProperties
Declaration
public int NumberOfExportedDynamicProperties { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
NumberOfExportedFrames
Declaration
public int NumberOfExportedFrames { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
NumberOfExportedTabs
Declaration
public int NumberOfExportedTabs { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
NumberOfExportedVisitorGroup
Declaration
public int NumberOfExportedVisitorGroup { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
RequiredSourceAccess
Declaration
public AccessLevel RequiredSourceAccess { get; set; }
Property Value
Status
Declaration
public IExportStatus Status { get; }
Property Value
Methods
Close()
Declaration
Dispose()
Declaration
Export()
Declaration
Export(Stream, IEnumerable<ExportSource>, ExportOptions)
Declaration
public ITransferLog Export(Stream stream, IEnumerable<ExportSource> sourceRoots, ExportOptions options)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.Collections.Generic.IEnumerable<ExportSource> |
sourceRoots |
|
ExportOptions |
options |
|
Returns
ExportContent(XmlTextWriter, ContentReference, IContentTransferContext, ITransferContentData)
Declaration
protected virtual void ExportContent(XmlTextWriter xml, ContentReference contentToExport, IContentTransferContext context, ITransferContentData transferContent)
Parameters
GetRawContentInfo(ContentReference)
Declaration
protected RawContentInfo GetRawContentInfo(ContentReference contentLink)
Parameters
Returns
Declaration
protected object GetRawPageInfo(PageReference pageLink)
Parameters
Returns
Type |
Description |
System.Object |
|
NotifyDynamicPropertiesExporting(IList<PropertyDefinition>)
Declaration
protected virtual void NotifyDynamicPropertiesExporting(IList<PropertyDefinition> propertyDefinitions)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<PropertyDefinition> |
propertyDefinitions |
|
NotifyExportHandlers(ITransferContentData)
Declaration
protected virtual void NotifyExportHandlers(ITransferContentData transferContent)
Parameters
NotifyExportHandlers(IEnumerable<ContentType>)
Declaration
protected virtual void NotifyExportHandlers(IEnumerable<ContentType> conentTypes)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<ContentType> |
conentTypes |
|
Declaration
public override void OnExportProperty(TransformPropertyEventArgs e)
Parameters
Overrides
Events
ContentExported
Declaration
public static event ContentExportedEventHandler ContentExported
Event Type
ContentExporting
Declaration
public static event ContentExportingEventHandler ContentExporting
Event Type
Exporting
Declaration
public static event EventHandler Exporting
Event Type
Type |
Description |
System.EventHandler |
|
ExportPropertyEvent
Declaration
public static event EventHandler<TransformPropertyEventArgs> ExportPropertyEvent
Event Type
FileExported
Declaration
public static event FileExportedEventHandler FileExported
Event Type
FileExporting
Declaration
public static event FileExportingEventHandler FileExporting
Event Type
ParsingUrl
Declaration
public static event ParseUrlEventHandler ParsingUrl
Event Type
Implements
System.IDisposable
Extension Methods