C# Class ToSic.SexyContent.ImportExport.ZipImport

Afficher le fichier Open project: 2sic/2sxc Class Usage Examples

Méthodes publiques

Méthode Description
ImportApp ( Stream zipStream, HttpServerUtility server, DotNetNuke.Entities.Portals.PortalSettings portalSettings, List messages ) : bool
ImportZip ( Stream zipStream, HttpServerUtility server, DotNetNuke.Entities.Portals.PortalSettings portalSettings, List messages ) : bool

Imports a ZIP file (from stream)

ImportZipFromUrl ( string packageUrl, List messages, bool isAppImport ) : bool
ZipImport ( int zoneId, int appId, bool allowRazor ) : System

Private Methods

Méthode Description
CheckRequiredEnvironmentVersions ( string reqVersionNode, string reqVersionNodeDnn ) : void
CopyAllFilesDnnPortal ( string sourceFolder, string destinationFolder, System.Boolean overwriteFiles, List messages ) : void

Copy all files from SourceFolder to DestinationFolder

ExtractZipFile ( Stream zipStream, string outFolder ) : void

Extracts a Zip (as Stream) to the given OutFolder directory.

Method Details

ImportApp() public méthode

public ImportApp ( Stream zipStream, HttpServerUtility server, DotNetNuke.Entities.Portals.PortalSettings portalSettings, List messages ) : bool
zipStream Stream
server System.Web.HttpServerUtility
portalSettings DotNetNuke.Entities.Portals.PortalSettings
messages List
Résultat bool

ImportZip() public méthode

Imports a ZIP file (from stream)
public ImportZip ( Stream zipStream, HttpServerUtility server, DotNetNuke.Entities.Portals.PortalSettings portalSettings, List messages ) : bool
zipStream Stream
server System.Web.HttpServerUtility
portalSettings DotNetNuke.Entities.Portals.PortalSettings
messages List
Résultat bool

ImportZipFromUrl() public méthode

public ImportZipFromUrl ( string packageUrl, List messages, bool isAppImport ) : bool
packageUrl string
messages List
isAppImport bool
Résultat bool

ZipImport() public méthode

public ZipImport ( int zoneId, int appId, bool allowRazor ) : System
zoneId int
appId int
allowRazor bool
Résultat System