C# 클래스 ToSic.SexyContent.AppAssets.AssetEditor

파일 보기 프로젝트 열기: 2sic/2sxc 1 사용 예제들

공개 메소드들

메소드 설명
AssetEditor ( System.App app, int templateId, DotNetNuke.Entities.Users.UserInfo userInfo, DotNetNuke.Entities.Portals.PortalSettings portalSettings ) : System
AssetEditor ( System.App app, string path, DotNetNuke.Entities.Users.UserInfo userInfo, DotNetNuke.Entities.Portals.PortalSettings portalSettings, bool global = false ) : System
Create ( string contents ) : bool
EnsureUserMayEditAsset ( string fullPath = null ) : void

Check permissions and if not successful, give detailed explanation

비공개 메소드들

메소드 설명
EnsureWebConfigExists ( System.App app, string scope ) : void
TemplateAssetsInfo ( Template templ ) : AssetEditInfo

메소드 상세

AssetEditor() 공개 메소드

public AssetEditor ( System.App app, int templateId, DotNetNuke.Entities.Users.UserInfo userInfo, DotNetNuke.Entities.Portals.PortalSettings portalSettings ) : System
app System.App
templateId int
userInfo DotNetNuke.Entities.Users.UserInfo
portalSettings DotNetNuke.Entities.Portals.PortalSettings
리턴 System

AssetEditor() 공개 메소드

public AssetEditor ( System.App app, string path, DotNetNuke.Entities.Users.UserInfo userInfo, DotNetNuke.Entities.Portals.PortalSettings portalSettings, bool global = false ) : System
app System.App
path string
userInfo DotNetNuke.Entities.Users.UserInfo
portalSettings DotNetNuke.Entities.Portals.PortalSettings
global bool
리턴 System

Create() 공개 메소드

public Create ( string contents ) : bool
contents string
리턴 bool

EnsureUserMayEditAsset() 공개 메소드

Check permissions and if not successful, give detailed explanation
public EnsureUserMayEditAsset ( string fullPath = null ) : void
fullPath string
리턴 void