C# 클래스 ToSic.SexyContent.App

The app class gives access to the App-object - for the data and things like the App:Path placeholder in a template
파일 보기 프로젝트 열기: 2sic/2sxc 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ConfigureDataOnDemand void
InitData void
InitializeResourcesSettingsAndMetadata void

공개 메소드들

메소드 설명
App ( DotNetNuke.Entities.Portals.PortalSettings ownerPortalSettings, int appId ) : System
App ( int zoneId, int appId, DotNetNuke.Entities.Portals.PortalSettings ownerPortalSettings, bool allowSideEffects = true ) : System

비공개 메소드들

메소드 설명
ConfigureDataOnDemand ( ) : void
InitData ( bool showDrafts, IValueCollectionProvider configurationValues ) : void

needed to initialize data - must always happen a bit later because the show-draft info isn't available when creating the first App-object. todo: later this should be moved to initialization of this object

InitializeResourcesSettingsAndMetadata ( bool allowSideEffects ) : void

Assign all kinds of metadata / resources / settings (App-Mode only)

메소드 상세

App() 공개 메소드

public App ( DotNetNuke.Entities.Portals.PortalSettings ownerPortalSettings, int appId ) : System
ownerPortalSettings DotNetNuke.Entities.Portals.PortalSettings
appId int
리턴 System

App() 공개 메소드

public App ( int zoneId, int appId, DotNetNuke.Entities.Portals.PortalSettings ownerPortalSettings, bool allowSideEffects = true ) : System
zoneId int
appId int
ownerPortalSettings DotNetNuke.Entities.Portals.PortalSettings
allowSideEffects bool
리턴 System