C# 클래스 Sitecore.Foundation.Assets.Services.RenderAssetsService

A service which helps add the required JavaScript at the end of a page, and CSS at the top of a page. In component based architecture it ensures references and inline scripts are only added once.
파일 보기 프로젝트 열기: Sitecore/Habitat

공개 메소드들

메소드 설명
RenderScript ( ScriptLocation location ) : System.Web.HtmlString
RenderStyles ( ) : System.Web.HtmlString

비공개 메소드들

메소드 설명
IsForContextSite ( Asset asset ) : bool

메소드 상세

RenderScript() 공개 메소드

public RenderScript ( ScriptLocation location ) : System.Web.HtmlString
location ScriptLocation
리턴 System.Web.HtmlString

RenderStyles() 공개 메소드

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