C# 클래스 ToSic.SexyContent.SxcInstance

This is an instance-context of a Content-Module. It basically encapsulates the instance-state, incl. IDs of Zone & App, the App, EAV-Context, Template, Content-Groups (if available), Environment and OriginalModule (in case it's from another portal) It is needed for just about anything, because without this set of information it would be hard to get anything done . Note that it also adds the current-user to the state, so that the system can log data-changes to this user
상속: ISxcInstance
파일 보기 프로젝트 열기: 2sic/2sxc 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Environment Environment.Environment

Private Properties

프로퍼티 타입 설명
CheckTemplateOverrides void
SxcInstance System
SxcInstance System
TryToGetTemplateBasedOnUrlParams Template

공개 메소드들

메소드 설명
GetRenderingEngine ( InstancePurposes renderingPurpose ) : IEngine
Render ( ) : System.Web.HtmlString

비공개 메소드들

메소드 설명
CheckTemplateOverrides ( ) : void
SxcInstance ( IContentBlock cb, DotNetNuke.Entities.Modules.ModuleInfo runtimeModuleInfo, string>.IEnumerable urlparams = null ) : System
SxcInstance ( IContentBlock cb, SxcInstance runtimeInstance ) : System
TryToGetTemplateBasedOnUrlParams ( ) : Template

메소드 상세

GetRenderingEngine() 공개 메소드

public GetRenderingEngine ( InstancePurposes renderingPurpose ) : IEngine
renderingPurpose InstancePurposes
리턴 IEngine

Render() 공개 메소드

public Render ( ) : System.Web.HtmlString
리턴 System.Web.HtmlString

프로퍼티 상세

Environment 공개적으로 프로퍼티

Environment - should be the place to refactor everything into, which is the host around 2sxc
public Environment.Environment Environment
리턴 Environment.Environment