C# Class ToSic.SexyContent.ImportExport.XmlExporter

显示文件 Open project: 2sic/2sxc Class Usage Examples

Public Properties

Property Type Description
AttributeSetIDs string[]
EntityIDs string[]
Messages List
ReferencedFiles List

Public Methods

Method Description
GenerateNiceXml ( ) : string

Exports given AttributeSets, Entities and Templates to an XML and returns the XML as string.

XmlExporter ( int zoneId, int appId, bool appExport, string attrSetIds, string entityIds ) : System

Private Methods

Method Description
AddAdamFilesToExportQueue ( ) : void
AddFileAndFolderToQueue ( int fileNum ) : void
AddFolderToQueue ( int folderId ) : void
GetEntityXElement ( Entity e ) : System.Xml.Linq.XElement

Returns an Entity XElement

GetFileXElement ( int fileId ) : System.Xml.Linq.XElement
GetFilesXElements ( ) : System.Xml.Linq.XElement
GetFolderXElement ( int folderId ) : System.Xml.Linq.XElement
GetFoldersXElements ( ) : System.Xml.Linq.XElement
InitExportXDocument ( ) : void

Method Details

GenerateNiceXml() public method

Exports given AttributeSets, Entities and Templates to an XML and returns the XML as string.
public GenerateNiceXml ( ) : string
return string

XmlExporter() public method

public XmlExporter ( int zoneId, int appId, bool appExport, string attrSetIds, string entityIds ) : System
zoneId int
appId int
appExport bool
attrSetIds string
entityIds string
return System

Property Details

AttributeSetIDs public_oe property

public string[] AttributeSetIDs
return string[]

EntityIDs public_oe property

public string[] EntityIDs
return string[]

Messages public_oe property

public List Messages
return List

ReferencedFiles public_oe property

public List ReferencedFiles
return List