C# Class ToSic.SexyContent.Internal.AppManagement

Exibir arquivo Open project: 2sic/2sxc

Public Methods

Method Description
GetApps ( int zoneId, bool includeDefaultApp, DotNetNuke.Entities.Portals.PortalSettings ownerPS ) : List

Returns all Apps for the current zone

Private Methods

Method Description
AddBrandNewApp ( int zoneId, string appName, DotNetNuke.Entities.Portals.PortalSettings ownerPS ) : App

Will create a new app in the system and initialize the basic settings incl. the app-definition

EnsureAppIsConfigured ( int zoneId, int appId, string appName = null ) : void

Create app-describing entity for configuration and add Settings and Resources Content Type

RemoveApp ( int zoneId, int appId, DotNetNuke.Entities.Portals.PortalSettings ps, int userId ) : void
RemoveIllegalCharsFromPath ( string path ) : string

Method Details

GetApps() public static method

Returns all Apps for the current zone
public static GetApps ( int zoneId, bool includeDefaultApp, DotNetNuke.Entities.Portals.PortalSettings ownerPS ) : List
zoneId int
includeDefaultApp bool
ownerPS DotNetNuke.Entities.Portals.PortalSettings
return List