C# Class Frapid.WebsiteBuilder.Models.Themes.ThemeUploader

Mostrar archivo Open project: frapid/frapid Class Usage Examples

Public Methods

Method Description
CopyTheme ( string tenant ) : void
Install ( string tenant ) : Frapid.WebsiteBuilder.Models.Themes.ThemeInfo
ThemeUploader ( Uri downloadUrl ) : System
ThemeUploader ( string tenant, System.Web.HttpPostedFileBase postedFile ) : System

Private Methods

Method Description
Download ( ) : void
ExtractTheme ( ) : void
GetUploadDirectory ( string tenant ) : string
SetUploadPaths ( ) : void
Upload ( ) : void
Validate ( ) : bool

Method Details

CopyTheme() public method

public CopyTheme ( string tenant ) : void
tenant string
return void

Install() public method

public Install ( string tenant ) : Frapid.WebsiteBuilder.Models.Themes.ThemeInfo
tenant string
return Frapid.WebsiteBuilder.Models.Themes.ThemeInfo

ThemeUploader() public method

public ThemeUploader ( Uri downloadUrl ) : System
downloadUrl System.Uri
return System

ThemeUploader() public method

public ThemeUploader ( string tenant, System.Web.HttpPostedFileBase postedFile ) : System
tenant string
postedFile System.Web.HttpPostedFileBase
return System